/* ============ UI 风格画廊 ============ */
.style-filter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.style-filter button {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--border);
  background: var(--card); color: var(--fg-2); cursor: pointer; font-size: 13px; transition: all .2s;
}
.style-filter button small { font-size: 11px; color: var(--fg-3); font-family: var(--mono); }
.style-filter button:hover { border-color: var(--border-2); color: var(--fg); }
.style-filter button.on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.style-filter button.on small { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.style-card { border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s var(--ease-out); }
.style-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.style-card.is-hidden { display: none; }
.style-demo { height: 250px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 22px; isolation: isolate; color: #111; }
.style-meta { padding: 16px 18px 18px; display: grid; gap: 10px; border-top: 1px solid var(--border); flex: 1; align-content: start; }
.style-name { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.style-name b { font-size: 17px; }
.style-name em { font-style: normal; font-size: 12px; color: var(--fg-3); font-family: var(--mono); }
.style-name span { margin-left: auto; font-size: 11px; color: var(--fg-3); background: var(--bg-2); padding: 1px 8px; border-radius: 99px; }
.style-meta ul { margin: 0; padding-left: 16px; font-size: 12.5px; color: var(--fg-2); display: grid; gap: 2px; }
.style-meta dl { display: grid; grid-template-columns: 30px 1fr; gap: 3px 8px; margin: 0; font-size: 12px; }
.style-meta dt { color: var(--muted); }
.style-meta dd { margin: 0; color: var(--fg-2); }

/* 1 扁平 */
.sd-flat { background: #ecf0f1; flex-direction: column; }
.f-tiles { display: grid; grid-template-columns: repeat(3, 72px); gap: 8px; }
.f-tiles span { height: 64px; background: var(--c); color: #fff; display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 4px; }
.f-tiles b { font-size: 11px; font-weight: 600; }
.f-btn { border: 0; background: #1abc9c; color: #fff; font-weight: 700; padding: 10px 28px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.f-btn:hover { background: #16a085; }

/* 2 拟物 */
.sd-skeuo { background: radial-gradient(circle at 30% 20%, #6b4a32, #3b2516 70%); flex-direction: column; }
.sd-skeuo::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(255, 220, 170, .35); border-radius: 14px; pointer-events: none; }
.sk-panel {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 12px;
  background: repeating-linear-gradient(90deg, #d7d9dc 0 1px, #c3c6ca 1px 3px), linear-gradient(#e7e9ec, #a9adb3);
  background-blend-mode: multiply; box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 20px rgba(0,0,0,.5);
}
.sk-knob { width: 64px; height: 64px; border-radius: 50%; position: relative; background: radial-gradient(circle at 35% 30%, #fff, #b8bcc2 45%, #6b7078 100%); box-shadow: 0 4px 8px rgba(0,0,0,.5), inset 0 -2px 4px rgba(0,0,0,.3); transform: rotate(40deg); }
.sk-knob i { position: absolute; left: 50%; top: 6px; width: 4px; height: 16px; margin-left: -2px; border-radius: 2px; background: #e11d48; box-shadow: 0 0 4px #f43f5e; }
.sk-meter { width: 70px; height: 40px; border-radius: 6px; background: linear-gradient(#fef9c3, #fde68a); box-shadow: inset 0 2px 6px rgba(0,0,0,.4); position: relative; overflow: hidden; }
.sk-meter i { position: absolute; left: 50%; bottom: -2px; width: 2px; height: 34px; background: #111; transform-origin: bottom; animation: skNeedle 2.4s ease-in-out infinite alternate; }
@keyframes skNeedle { from { transform: rotate(-40deg); } to { transform: rotate(30deg); } }
.sk-rec { border: 0; padding: 10px 14px; border-radius: 10px; color: #fff; font-weight: 800; font-size: 12px; cursor: pointer; text-shadow: 0 -1px 0 rgba(0,0,0,.4);
  background: linear-gradient(#ff6b6b, #c0161e); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 3px 0 #7f1d1d, 0 6px 10px rgba(0,0,0,.4); }
.sk-rec:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 1px 0 #7f1d1d; }
.sk-label { color: #f5deb3; font-family: var(--font-serif); font-style: italic; letter-spacing: .2em; font-size: 12px; text-shadow: 0 1px 0 rgba(0,0,0,.6); }

/* 3 新拟态 */
.sd-neu { background: #e0e5ec; gap: 28px; }
.neu-knob { width: 128px; height: 128px; border-radius: 50%; display: grid; place-items: center; background: #e0e5ec; box-shadow: 10px 10px 20px #a3b1c6, -10px -10px 20px #fff; }
.neu-knob > div { width: 88px; height: 88px; border-radius: 50%; display: grid; place-content: center; text-align: center; box-shadow: inset 6px 6px 12px #a3b1c6, inset -6px -6px 12px #fff; color: #4a5568; }
.neu-knob b { font-size: 22px; }
.neu-knob small { font-size: 11px; color: #8796ab; }
.neu-col { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.neu-btn { width: 52px; height: 52px; border: 0; border-radius: 16px; background: #e0e5ec; color: #6b7a90; cursor: pointer; display: grid; place-items: center; box-shadow: 6px 6px 12px #a3b1c6, -6px -6px 12px #fff; transition: box-shadow .2s; }
.neu-btn.pressed, .neu-btn:active { box-shadow: inset 5px 5px 10px #a3b1c6, inset -5px -5px 10px #fff; color: #ec4899; }
.neu-slider { grid-column: span 2; height: 14px; border-radius: 7px; box-shadow: inset 3px 3px 6px #a3b1c6, inset -3px -3px 6px #fff; position: relative; }
.neu-slider i { position: absolute; left: 4px; top: 3px; width: 60%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #a78bfa, #ec4899); }

/* 4 玻璃 */
.sd-glass { background: linear-gradient(135deg, #1e1b4b, #312e81); flex-direction: column; gap: 10px; }
.gl-blob { position: absolute; border-radius: 50%; z-index: -1; animation: heroFloat 10s ease-in-out infinite alternate; }
.gl-blob.b1 { width: 140px; height: 140px; background: #ec4899; left: 30px; top: 20px; }
.gl-blob.b2 { width: 120px; height: 120px; background: #06b6d4; right: 40px; bottom: 10px; animation-delay: -4s; }
.gl-blob.b3 { width: 80px; height: 80px; background: #f59e0b; right: 110px; top: 30px; animation-delay: -7s; }
.gl-card {
  width: 250px; padding: 16px; border-radius: 18px; color: #fff; display: grid; gap: 14px;
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .35); box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
.gl-card b { letter-spacing: .1em; }
.gl-chip { width: 32px; height: 24px; border-radius: 5px; background: linear-gradient(135deg, #fde68a, #d97706); }
.gl-num { font-family: var(--mono); font-size: 15px; letter-spacing: .08em; }
.gl-card small { font-size: 9px; opacity: .8; display: grid; }
.gl-card small b { font-size: 11px; letter-spacing: .05em; }
.gl-widget { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; color: #fff; background: rgba(255,255,255,.14); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.3); font-size: 12px; }

/* 5 粘土 */
.sd-clay { background: linear-gradient(135deg, #fde2e4, #e0e7ff); gap: 22px; }
.clay-card { width: 140px; padding: 18px; border-radius: 32px; background: #a5b4fc; display: grid; justify-items: center; gap: 4px; color: #1e1b4b;
  box-shadow: 10px 12px 20px rgba(99, 102, 241, .35), inset -8px -8px 16px rgba(49, 46, 129, .25), inset 8px 8px 16px rgba(255, 255, 255, .6); }
.clay-ic { width: 54px; height: 54px; border-radius: 20px; display: grid; place-items: center; background: #fde68a; color: #f59e0b; margin-bottom: 6px;
  box-shadow: 4px 6px 10px rgba(180, 83, 9, .25), inset -4px -4px 8px rgba(180, 83, 9, .2), inset 4px 4px 8px rgba(255,255,255,.8); }
.clay-card small { font-size: 11px; opacity: .7; }
.clay-col { display: grid; gap: 12px; justify-items: center; }
.clay-btn { border: 0; padding: 12px 26px; border-radius: 22px; font-weight: 800; color: #fff; background: #fb7185; cursor: pointer; font-size: 14px;
  box-shadow: 6px 8px 14px rgba(225, 29, 72, .35), inset -5px -5px 10px rgba(136, 19, 55, .3), inset 5px 5px 10px rgba(255,255,255,.5); transition: transform .2s var(--ease-spring); }
.clay-btn:hover { transform: scale(1.06); }
.clay-pill { padding: 6px 14px; border-radius: 99px; background: #86efac; color: #14532d; font-weight: 700; font-size: 12px; box-shadow: 4px 6px 10px rgba(22,163,74,.25), inset -3px -3px 6px rgba(20,83,45,.2), inset 3px 3px 6px rgba(255,255,255,.6); }
.clay-ball { width: 36px; height: 36px; border-radius: 50%; background: #fcd34d; box-shadow: 4px 6px 10px rgba(180,83,9,.3), inset -5px -5px 8px rgba(180,83,9,.3), inset 5px 5px 8px rgba(255,255,255,.7); animation: clayBounce 1.6s var(--ease-in-out) infinite; }
@keyframes clayBounce { 50% { transform: translateY(-10px) scale(1.05, .95); } }

/* 6 新野兽派 */
.sd-brutal { background: #fde047; background-image: radial-gradient(#000 1px, transparent 1.5px); background-size: 16px 16px; }
.br-card { background: #fff; border: 3px solid #000; box-shadow: 6px 6px 0 #000; padding: 16px 18px; position: relative; display: grid; gap: 10px; }
.br-card h4 { font-size: 24px; font-weight: 900; line-height: 1.1; letter-spacing: -.02em; }
.br-tag { position: absolute; top: -14px; right: -14px; background: #22d3ee; border: 3px solid #000; padding: 2px 8px; font-weight: 900; font-size: 12px; transform: rotate(8deg); }
.br-btn { border: 3px solid #000; background: #f472b6; font-weight: 800; padding: 8px 12px; box-shadow: 4px 4px 0 #000; cursor: pointer; font-size: 13px; transition: transform .1s, box-shadow .1s; justify-self: start; }
.br-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.br-btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 #000; }
.br-sticker { position: absolute; right: 22px; bottom: 22px; background: #a3e635; border: 3px solid #000; border-radius: 50%; width: 76px; height: 76px; display: grid; place-items: center; text-align: center; font-weight: 900; font-size: 11px; transform: rotate(-12deg); box-shadow: 3px 3px 0 #000; padding: 6px; }

/* 7 极简 */
.sd-min { background: #fafaf9; flex-direction: column; align-items: flex-start; justify-content: center; padding: 30px 36px; gap: 8px; }
.sd-min small { font-size: 11px; letter-spacing: .2em; color: #a8a29e; }
.sd-min h4 { font-family: var(--font-serif); font-size: 38px; font-weight: 300; letter-spacing: -.02em; color: #1c1917; }
.sd-min p { font-size: 13px; color: #78716c; font-style: italic; }
.sd-min a { font-size: 12px; color: #1c1917; border-bottom: 1px solid #1c1917; padding-bottom: 2px; margin-top: 14px; }

/* 8 瑞士 */
.sd-swiss { background: #f5f5f0; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(4, 1fr); gap: 0; padding: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
.sw-num { grid-column: 1 / 4; grid-row: 1 / 4; font-size: 140px; font-weight: 700; line-height: .8; letter-spacing: -.06em; padding: 18px 0 0 16px; color: #111; }
.sw-red { grid-column: 4 / 7; grid-row: 1 / 3; background: #e30613; }
.sw-text { grid-column: 4 / 7; grid-row: 3 / 5; padding: 14px; }
.sw-text b { font-size: 22px; line-height: 1; letter-spacing: -.03em; display: block; }
.sw-text p { font-size: 10px; margin-top: 8px; color: #555; line-height: 1.5; }
.sw-line { grid-column: 1 / 4; grid-row: 4; border-top: 6px solid #111; margin: 20px 16px 0; }

/* 9 便当 */
.sd-bento { background: #f5f5f7; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 14px; }
.bt { border-radius: 18px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; color: #1d1d1f; background: #fff; }
.bt b { font-size: 18px; letter-spacing: -.02em; }
.bt small { font-size: 11px; color: #6e6e73; }
.bt.a { grid-row: span 2; background: linear-gradient(160deg, #1d1d1f, #3a3a3c); color: #fff; }
.bt.a b { font-size: 26px; background: linear-gradient(90deg, #fbbf24, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bt.a small { color: #a1a1a6; }
.bt.b { grid-column: span 2; background: linear-gradient(135deg, #dbeafe, #e0e7ff); }
.bt.c { align-items: center; justify-content: center; color: #f59e0b; }
.bt.d { background: linear-gradient(135deg, #d6d3d1, #a8a29e); }
.bt.e { display: none; }

/* 10 暗黑科技 */
.sd-darktech { background: #08090a; flex-direction: column; color: #ededed; }
.dk-grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000, transparent 70%); }
.sd-darktech::after { content: ""; position: absolute; width: 260px; height: 120px; top: 10px; left: 50%; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(99,102,241,.45), transparent 70%); filter: blur(20px); z-index: -1; }
.dk-card { width: 260px; padding: 16px; border-radius: 12px; display: grid; gap: 6px; position: relative;
  background: linear-gradient(#111214, #111214) padding-box, conic-gradient(from var(--beam, 0deg), transparent 70%, #818cf8, #f472b6, transparent 95%) border-box;
  border: 1px solid transparent; animation: beam 4s linear infinite; }
@property --beam { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes beam { to { --beam: 360deg; } }
.dk-card b { font-size: 22px; letter-spacing: -.03em; }
.dk-card small { font-size: 11.5px; color: #8b8d93; }
.dk-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.dk-bar { height: 4px; border-radius: 2px; background: #1f2023; overflow: hidden; margin-top: 4px; }
.dk-bar i { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, #6366f1, #ec4899); }
.dk-btn { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; border: 1px solid #26272b; background: #111214; color: #a1a1aa; font: 500 12px var(--mono); cursor: pointer; }
.dk-btn:hover { color: #fff; border-color: #3f3f46; }

/* 11 赛博朋克 */
.sd-cyber { background: #0d0221; flex-direction: column; align-items: flex-start; padding: 26px 30px; gap: 10px; color: #05d9e8; font-family: var(--mono); }
.sd-cyber::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.25) 0 1px, transparent 1px 3px); }
.cy-title { position: relative; font-size: 34px; font-weight: 800; color: #ff2a6d; letter-spacing: .04em; text-shadow: 0 0 12px rgba(255, 42, 109, .7); }
.cy-title::before, .cy-title::after { content: attr(data-text); position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.cy-title::before { color: #05d9e8; animation: glitchA 2.2s infinite steps(1); }
.cy-title::after { color: #fff200; animation: glitchB 2.6s infinite steps(1); }
@keyframes glitchA { 0%, 86%, 100% { clip-path: inset(0 0 100% 0); transform: none; } 88% { clip-path: inset(20% 0 50% 0); transform: translate(-4px, 0); } 92% { clip-path: inset(60% 0 10% 0); transform: translate(3px, 0); } }
@keyframes glitchB { 0%, 80%, 100% { clip-path: inset(0 0 100% 0); transform: none; } 82% { clip-path: inset(40% 0 30% 0); transform: translate(4px, 0); } 85% { clip-path: inset(10% 0 70% 0); transform: translate(-3px, 0); } }
.cy-sub { font-size: 12px; letter-spacing: .1em; }
.cy-bar { width: 220px; height: 10px; border: 1px solid #05d9e8; padding: 1px; }
.cy-bar i { display: block; height: 100%; width: 87%; background: repeating-linear-gradient(90deg, #05d9e8 0 6px, transparent 6px 8px); box-shadow: 0 0 8px #05d9e8; }
.cy-btn { margin-top: 6px; border: 0; padding: 10px 22px; background: #ff2a6d; color: #0d0221; font: 800 13px var(--mono); cursor: pointer; letter-spacing: .1em;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.cy-btn:hover { background: #05d9e8; }

/* 12 Material 3 */
.sd-m3 { background: #fef7ff; }
.m3-card { width: 250px; border-radius: 16px; padding: 16px; background: #f3edf7; color: #1d1b20; display: grid; gap: 14px; }
.m3-head { display: flex; gap: 12px; align-items: center; }
.m3-head b { display: block; font-size: 15px; font-weight: 500; }
.m3-head small { font-size: 12px; color: #49454f; }
.m3-av { width: 40px; height: 40px; border-radius: 50%; background: #6750a4; color: #fff; display: grid; place-items: center; font-weight: 500; }
.m3-chips { display: flex; gap: 6px; }
.m3-chips span { height: 30px; padding: 0 12px; border-radius: 8px; border: 1px solid #79747e; font-size: 12.5px; display: inline-flex; align-items: center; gap: 4px; color: #49454f; }
.m3-chips span.on { background: #e8def8; border-color: transparent; color: #1d192b; padding-left: 8px; }
.m3-acts { display: flex; justify-content: flex-end; gap: 8px; font-size: 13px; font-weight: 500; }
.m3-acts span { padding: 8px 14px; border-radius: 20px; color: #6750a4; }
.m3-acts .m3-filled { background: #6750a4; color: #fff; }
.m3-fab { position: absolute; right: 22px; bottom: 22px; width: 56px; height: 56px; border: 0; border-radius: 16px; background: #eaddff; color: #21005d; display: grid; place-items: center; cursor: pointer; box-shadow: 0 3px 6px rgba(0,0,0,.18); }

/* 13 Apple */
.sd-ios { background: #f2f2f7; font-family: -apple-system, "SF Pro Text", var(--font); }
.ios-g { width: 280px; background: #fff; border-radius: 12px; overflow: hidden; }
.ios-c { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; font-size: 14px; position: relative; color: #000; }
.ios-c + .ios-c::before { content: ""; position: absolute; left: 50px; right: 0; top: 0; height: .5px; background: rgba(60,60,67,.2); }
.ios-c > span { width: 28px; height: 28px; border-radius: 7px; background: var(--c); color: #fff; display: grid; place-items: center; }
.ios-c em { margin-left: auto; font-style: normal; color: rgba(60,60,67,.6); font-size: 13px; }
.ios-c > svg { color: rgba(60,60,67,.3); }
.ios-c .switch { margin-left: auto; }

/* 14 Fluent */
.sd-fluent { background: radial-gradient(circle at 20% 30%, #60a5fa, transparent 50%), radial-gradient(circle at 80% 80%, #a78bfa, transparent 50%), #1e3a8a; padding: 18px; }
.fl-win { width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: rgba(243, 243, 243, .78); backdrop-filter: blur(30px) saturate(140%); -webkit-backdrop-filter: blur(30px) saturate(140%); border: 1px solid rgba(255,255,255,.5); box-shadow: 0 16px 32px rgba(0,0,0,.3); display: flex; flex-direction: column; font-family: "Segoe UI", var(--font); color: #1b1b1b; }
.fl-bar { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 12px; }
.fl-ctrls { letter-spacing: .6em; color: #555; font-size: 11px; }
.fl-body { flex: 1; display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 4px 12px 12px; }
.fl-nav { display: grid; gap: 2px; align-content: start; font-size: 12px; }
.fl-nav span { padding: 6px 8px; border-radius: 5px; position: relative; }
.fl-nav span.on { background: rgba(0,0,0,.05); font-weight: 600; }
.fl-nav span.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: #0078d4; }
.fl-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: start; }
.fl-tile { --x: -100px; --y: -100px; height: 58px; border-radius: 6px; padding: 8px; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; color: #0078d4; position: relative;
  background: radial-gradient(80px circle at var(--x) var(--y), rgba(255,255,255,.95), transparent 70%), rgba(255,255,255,.65); border: 1px solid rgba(0,0,0,.06); }
.fl-tile span { color: #1b1b1b; }

/* 15 孟菲斯 */
.sd-memphis { background: #fff7ed; }
.sd-memphis h4 { font-size: 44px; font-weight: 900; line-height: .95; color: #111; text-shadow: 4px 4px 0 #f472b6; position: relative; z-index: 2; transform: rotate(-4deg); }
.sd-memphis i { position: absolute; display: block; }
.mp-circle { width: 70px; height: 70px; border-radius: 50%; background: #22d3ee; border: 3px solid #111; left: 26px; top: 26px; }
.mp-tri { width: 70px; height: 62px; background: #facc15; clip-path: polygon(50% 0, 100% 100%, 0 100%); right: 40px; top: 30px; transform: rotate(14deg); }
.mp-squiggle { width: 120px; height: 24px; left: 30px; bottom: 34px; background: radial-gradient(circle at 10px -4px, transparent 9px, #111 10px 13px, transparent 14px) 0 0 / 20px 20px repeat-x, radial-gradient(circle at 10px 24px, transparent 9px, #111 10px 13px, transparent 14px) 10px 0 / 20px 20px repeat-x; }
.mp-dots { width: 90px; height: 70px; right: 30px; bottom: 26px; background-image: radial-gradient(#ec4899 3px, transparent 3.5px); background-size: 14px 14px; }
.mp-zig { width: 60px; height: 14px; right: 140px; bottom: 50px; background: linear-gradient(135deg, #111 25%, transparent 25%) -7px 0 / 14px 14px, linear-gradient(225deg, #111 25%, transparent 25%) -7px 0 / 14px 14px; }
.mp-half { width: 50px; height: 25px; border-radius: 50px 50px 0 0; background: #a78bfa; left: 150px; top: 24px; transform: rotate(-20deg); }

/* 16 Y2K */
.sd-y2k { background: radial-gradient(circle at 30% 30%, #fbcfe8, transparent 50%), radial-gradient(circle at 70% 70%, #bae6fd, transparent 50%), linear-gradient(135deg, #e9d5ff, #fde68a); flex-direction: column; gap: 10px; }
.y2-chrome { font-size: 74px; font-weight: 900; font-style: italic; letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #9ca3af 45%, #1f2937 50%, #e5e7eb 60%, #fff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px rgba(30, 41, 59, .5); filter: drop-shadow(0 4px 0 #ec4899) drop-shadow(0 0 16px rgba(236,72,153,.4)); }
.y2-pill { padding: 6px 16px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: #fff; background: linear-gradient(90deg, #ec4899, #8b5cf6, #06b6d4); box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 4px 10px rgba(139,92,246,.4); }
.y2-star { position: absolute; color: #fff; text-shadow: 0 0 10px #ec4899; animation: twinkle 2s ease-in-out infinite; }
.y2-star.s1 { left: 40px; top: 30px; font-size: 30px; }
.y2-star.s2 { right: 50px; top: 50px; font-size: 22px; animation-delay: -.7s; }
.y2-star.s3 { right: 90px; bottom: 30px; font-size: 26px; animation-delay: -1.3s; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(45deg); opacity: .5; } }
.y2-bubble { position: absolute; left: 50px; bottom: 30px; width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.1) 40%, rgba(186,230,253,.4)); border: 1px solid rgba(255,255,255,.7); }

/* 17 像素 */
.sd-pixel { background: #1a1c2c; flex-direction: column; gap: 12px; font-family: var(--mono); color: #f4f4f4; image-rendering: pixelated; }
.px-hud { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #ffcd75; }
.px-hp { width: 120px; height: 12px; background: #333c57; box-shadow: 0 -3px 0 #f4f4f4, 0 3px 0 #f4f4f4, -3px 0 0 #f4f4f4, 3px 0 0 #f4f4f4; }
.px-hp i { display: block; width: 70%; height: 100%; background: repeating-linear-gradient(90deg, #38b764 0 8px, #257179 8px 10px); }
.px-box { width: 250px; padding: 12px 14px; background: #29366f; position: relative; font-size: 13px; line-height: 1.6;
  box-shadow: 0 -4px 0 #f4f4f4, 0 4px 0 #f4f4f4, -4px 0 0 #f4f4f4, 4px 0 0 #f4f4f4, 0 -8px 0 #1a1c2c, 0 8px 0 #1a1c2c, -8px 0 0 #1a1c2c, 8px 0 0 #1a1c2c; }
.px-box b { color: #ffcd75; }
.px-arrow { position: absolute; right: 10px; bottom: 4px; font-size: 10px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.px-btns { display: flex; gap: 20px; font-size: 13px; }
.px-btns span:first-child { color: #ffcd75; }

/* 18 极光 */
.sd-aurora { background: #05010f; color: #fff; }
.sd-aurora > i { position: absolute; width: 200px; height: 200px; border-radius: 50%; filter: blur(40px); opacity: .8; z-index: -1; animation: auroraMove 9s ease-in-out infinite alternate; }
.sd-aurora > i:nth-child(1) { background: #7c3aed; left: 10%; top: -20%; }
.sd-aurora > i:nth-child(2) { background: #06b6d4; right: 5%; top: 10%; animation-delay: -3s; }
.sd-aurora > i:nth-child(3) { background: #ec4899; left: 35%; bottom: -30%; animation-delay: -6s; }
@keyframes auroraMove { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 20px) scale(1.2); } 100% { transform: translate(-30px, 30px) scale(.9); } }
.au-txt { text-align: center; display: grid; gap: 8px; justify-items: center; }
.au-txt small { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; opacity: .7; }
.au-txt h4 { font-size: 36px; font-weight: 700; letter-spacing: -.03em; }
.au-txt button { border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; padding: 8px 18px; border-radius: 99px; font-size: 13px; backdrop-filter: blur(10px); cursor: pointer; }

/* 19 国潮 */
.sd-guochao { background: #f4ecd8; color: #2b1810; font-family: var(--font-serif); justify-content: space-around; }
.gc-cloud { position: absolute; inset: 0; z-index: -1; opacity: .5;
  background: radial-gradient(circle at 0 100%, transparent 18px, #c8102e 19px 21px, transparent 22px) 0 0 / 60px 40px,
    radial-gradient(circle at 100% 100%, transparent 18px, #c8102e 19px 21px, transparent 22px) 0 0 / 60px 40px;
  mask-image: linear-gradient(transparent 55%, #000); -webkit-mask-image: linear-gradient(transparent 55%, #000); }
.gc-poem { writing-mode: vertical-rl; font-size: 20px; letter-spacing: .4em; color: #2b1810; border-left: 1px solid #c8102e; padding-left: 10px; }
.gc-main { text-align: center; }
.gc-main h4 { font-size: 64px; font-weight: 900; color: #c8102e; letter-spacing: .1em; line-height: 1; text-shadow: 3px 3px 0 #e8c37a; }
.gc-main p { font-size: 13px; letter-spacing: .3em; margin-top: 10px; color: #6b4f3a; }
.gc-seal { width: 52px; height: 52px; border: 3px solid #c8102e; color: #c8102e; display: grid; place-items: center; font-size: 15px; font-weight: 900; writing-mode: vertical-rl; border-radius: 6px; transform: rotate(-6deg); align-self: flex-end; background: rgba(200, 16, 46, .06); }

/* 20 手绘 */
.sd-hand { background: #fffdf5; background-image: linear-gradient(#e8eef8 1px, transparent 1px); background-size: 100% 26px; flex-direction: column; gap: 14px; font-family: "Kaiti SC", "STKaiti", "Comic Sans MS", cursive; color: #1f2937; }
.sd-hand h4 { font-size: 24px; font-weight: 700; }
.hd-mark { background: linear-gradient(transparent 55%, #fde047 55%, #fde047 90%, transparent 90%); padding: 0 4px; }
.hd-card { border: 2px solid #1f2937; border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; padding: 12px 18px; background: #fff; transform: rotate(-1.5deg); font-size: 14px; }
.hd-card ul { margin: 6px 0 0; padding-left: 20px; }
.hd-card li.done { text-decoration: line-through; text-decoration-color: #ef4444; text-decoration-thickness: 2px; color: #9ca3af; }
.hd-btn { border: 2px solid #1f2937; background: #a7f3d0; padding: 6px 20px; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px; box-shadow: 3px 3px 0 #1f2937; transform: rotate(1deg); }

/* 21 杂志 */
.sd-editorial { background: #f8f5ef; color: #1c1917; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; padding: 18px 24px; font-family: var(--font-serif); }
.ed-top { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid #1c1917; padding-bottom: 6px; font-family: var(--font); }
.sd-editorial h4 { font-size: 34px; font-weight: 400; line-height: 1.05; letter-spacing: -.02em; }
.sd-editorial h4 em { color: #b91c1c; }
.ed-cols { column-count: 2; column-gap: 20px; column-rule: 1px solid #d6d3d1; font-size: 11.5px; line-height: 1.7; color: #44403c; }
.ed-cols p { margin-bottom: 8px; }
.ed-drop { float: left; font-size: 40px; line-height: .9; margin: 2px 6px 0 0; color: #b91c1c; font-weight: 700; }

/* 22 终端 */
.sd-terminal { background: #2d2d2d; padding: 16px; }
.sd-terminal > div, .sd-terminal > pre { width: 100%; }
.sd-terminal { flex-direction: column; gap: 0; align-items: stretch; }
.tm-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; background: #3c3c3c; border-radius: 8px 8px 0 0; }
.tm-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.tm-bar i:nth-child(2) { background: #febc2e; }
.tm-bar i:nth-child(3) { background: #28c840; }
.tm-bar span { margin-left: auto; margin-right: auto; font: 11px var(--mono); color: #aaa; }
.sd-terminal pre { margin: 0; flex: 1; background: #0c0c0c; border-radius: 0 0 8px 8px; padding: 14px; color: #e5e5e5; font: 12.5px/1.8 var(--mono); }
.tm-p { color: #60a5fa; } .tm-g { color: #4ade80; } .tm-d { color: #a3a3a3; } .tm-y { color: #fbbf24; }
.tm-cursor { display: inline-block; width: 8px; height: 15px; background: #4ade80; vertical-align: -3px; animation: blink 1s steps(1) infinite; }

/* 23 等距 */
.sd-iso { background: linear-gradient(135deg, #eef2ff, #fdf2f8); perspective: 800px; }
.iso-stage { width: 130px; height: 130px; position: relative; transform: rotateX(55deg) rotateZ(-45deg); transform-style: preserve-3d; }
.iso-layer { position: absolute; inset: 0; border-radius: 14px; transition: transform .6s var(--ease-spring); display: grid; place-items: center; box-shadow: -6px 6px 0 rgba(15, 23, 42, .12); }
.iso-layer span { font-size: 11px; font-weight: 700; color: rgba(255,255,255,.95); transform: rotate(45deg); }
.iso-layer.l1 { background: linear-gradient(135deg, #6366f1, #4338ca); transform: translateZ(0); }
.iso-layer.l2 { background: linear-gradient(135deg, #ec4899, #be185d); transform: translateZ(22px); opacity: .95; }
.iso-layer.l3 { background: linear-gradient(135deg, #22d3ee, #0891b2); transform: translateZ(44px); opacity: .95; }
.sd-iso:hover .iso-layer.l2 { transform: translateZ(50px); }
.sd-iso:hover .iso-layer.l3 { transform: translateZ(100px); }
.iso-tip { position: absolute; bottom: 14px; right: 16px; font-size: 11px; color: #6366f1; }

/* 24 HUD */
.sd-hud { background: radial-gradient(circle at 30% 50%, #0b2a4a, #030712 70%); color: #67e8f9; gap: 28px; font-family: var(--mono); }
.hud-ring { width: 130px; height: 130px; border-radius: 50%; position: relative; display: grid; place-content: center; text-align: center;
  border: 1px solid rgba(103, 232, 249, .4); box-shadow: inset 0 0 0 10px rgba(103, 232, 249, .06), 0 0 24px rgba(34, 211, 238, .25); }
.hud-ring::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 2px dashed rgba(103, 232, 249, .5); animation: spin 18s linear infinite; }
.hud-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34, 211, 238, .45), transparent 25%); animation: spin 3s linear infinite; }
.hud-ring b { font-size: 34px; color: #fff; text-shadow: 0 0 10px #22d3ee; position: relative; }
.hud-ring small { font-size: 10px; letter-spacing: .2em; position: relative; }
.hud-data { display: grid; gap: 10px; }
.hud-data div { border-left: 2px solid #22d3ee; padding-left: 10px; }
.hud-data small { font-size: 9px; letter-spacing: .2em; opacity: .7; display: block; }
.hud-data b { font-size: 15px; color: #fff; }
.hud-c { position: absolute; width: 16px; height: 16px; border: 2px solid #22d3ee; }
.hud-c.tl { left: 12px; top: 12px; border-right: 0; border-bottom: 0; }
.hud-c.tr { right: 12px; top: 12px; border-left: 0; border-bottom: 0; }
.hud-c.bl { left: 12px; bottom: 12px; border-right: 0; border-top: 0; }
.hud-c.br { right: 12px; bottom: 12px; border-left: 0; border-top: 0; }

/* 25 轻奢 */
.sd-lux { background: radial-gradient(circle at 50% 0%, #1f2a24, #0b0f0d 70%); color: #e8d9a8; flex-direction: column; gap: 10px; font-family: var(--font-serif); text-align: center; }
.sd-lux small { font-size: 10px; letter-spacing: .4em; color: #c9a227; font-family: var(--font); }
.sd-lux h4 { font-size: 40px; font-weight: 400; font-style: italic; letter-spacing: .02em; color: #f5f0e1; }
.lux-line { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, #c9a227, transparent); }
.sd-lux p { font-size: 12px; letter-spacing: .2em; color: #b8a878; }
.sd-lux button { margin-top: 6px; border: 1px solid #c9a227; background: none; color: #e8d9a8; padding: 8px 22px; letter-spacing: .3em; font-size: 11px; cursor: pointer; transition: background .3s, color .3s; }
.sd-lux button:hover { background: #c9a227; color: #0b0f0d; }

/* 26 蓝图 */
.sd-blueprint { background-color: #1e4fa3; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; color: #fff; flex-direction: column; font-family: var(--mono); gap: 26px; }
.bp-box { width: 170px; height: 64px; border: 1.5px solid #fff; border-radius: 10px; display: grid; place-items: center; position: relative; }
.bp-box b { font-size: 13px; letter-spacing: .2em; }
.bp-pad { position: absolute; inset: 8px 14px; border: 1px dashed rgba(255,255,255,.6); border-radius: 4px; }
.bp-dim { position: absolute; font-size: 10px; color: #bfdbfe; }
.bp-dim.w { left: 0; right: 0; top: -22px; text-align: center; border-bottom: 1px solid #bfdbfe; line-height: 14px; }
.bp-dim.h { top: 0; bottom: 0; right: -38px; display: flex; align-items: center; border-left: 1px solid #bfdbfe; padding-left: 4px; }
.sd-blueprint small { font-size: 10px; letter-spacing: .15em; color: #bfdbfe; }

/* 27 包豪斯 */
.sd-bauhaus { background: #f1ead8; }
.sd-bauhaus i { position: absolute; display: block; }
.bh-c { width: 110px; height: 110px; border-radius: 50%; background: #e63946; left: 30px; top: 30px; }
.bh-s { width: 90px; height: 90px; background: #1d4ed8; right: 50px; top: 24px; }
.bh-t { width: 0; height: 0; border-left: 60px solid transparent; border-right: 60px solid transparent; border-bottom: 100px solid #facc15; right: 130px; bottom: 26px; }
.bh-bar { width: 160px; height: 16px; background: #111; left: 30px; bottom: 50px; }
.sd-bauhaus h4 { position: absolute; left: 30px; bottom: 18px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: #111; font-family: "Futura", "Helvetica Neue", sans-serif; }

@media (max-width: 1100px) { .style-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .style-grid { grid-template-columns: 1fr; } }
