/* 取自瓦语通客户端 2.0 的界面：主页、字幕样式、我的套餐能量条、时长卡沙漏。
   主页示意按 1000×640 排版，整体按右侧可用宽度缩放（--s 由 site.js 写入）。 */

/* ================= 客户端主页 ================= */
.hm-fit { position: relative; width: 100%; aspect-ratio: 1000 / 640; }
.hm { --teal: #78cee2; --teal-ink: #134b5d; position: absolute; left: 0; top: 0; width: 1000px; height: 640px; transform: scale(var(--s, .6)); transform-origin: 0 0;
  display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; padding: 18px 18px 18px 14px;
  background: #faf7f0; border: 1px solid #e3ddd1; border-radius: 18px; box-shadow: 0 60px 110px -60px rgba(22, 28, 36, .6), 0 0 0 1px rgba(255, 255, 255, .6) inset;
  font: 400 14px/1.4 "Inter", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif; color: #292c2e; user-select: none; }
.hm-ctrl { position: absolute; right: 18px; top: 12px; display: flex; gap: 22px; }
.hm-ctrl i { width: 11px; height: 11px; border: 1.4px solid #8f9396; border-radius: 2px; }
.hm-ctrl i:first-child { height: 0; border-width: 1.4px 0 0; margin-top: 5px; }
.hm-ctrl i:last-child { border: 0; background: linear-gradient(45deg, transparent 45%, #8f9396 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, #8f9396 45% 55%, transparent 55%); }

.hm-side { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.hm-logo { display: flex; align-items: center; gap: 8px; height: 46px; padding-left: 16px; }
.hm-logo img { width: 30px; height: 30px; object-fit: contain; }
.hm-logo b { font-size: 19px; font-weight: 800; letter-spacing: -.5px; }
.hm-nav { display: flex; flex-direction: column; gap: 4px; padding: 10px 8px; background: #fffdf8; border: 1px solid #e8e2d6; border-radius: 18px 18px 0 0; }
.hm-nav span { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 13px; color: #3e4245; }
.hm-nav svg { width: 17px; height: 17px; color: #5d6367; }
.hm-nav span.on { background: var(--teal); color: var(--teal-ink); font-weight: 600; }
.hm-nav span.on svg { color: var(--teal-ink); }
.hm-nav hr { width: 100%; margin: 6px 0; border: 0; border-top: 1px solid #ebe5da; }
.hm-nav-foot { flex: 1; justify-content: flex-end; margin-top: -10px; border-top: 0; border-radius: 0; padding-top: 0; }
.hm-user { display: flex; align-items: center; gap: 9px; margin-top: -10px; padding: 12px 10px; background: #fffdf8; border: 1px solid #e8e2d6; border-top: 0; border-radius: 0 0 18px 18px; }
.hm-user i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #e5e1f6; color: #5b4a86; font: 700 13px/1 inherit; font-style: normal; }
.hm-user b { display: block; font-size: 12px; }
.hm-user small { font-size: 10px; color: #8a8e91; }
.hm-user span { margin-left: auto; color: #9a9ea1; }

.hm-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding-top: 22px; }
.hm-head { display: flex; align-items: flex-end; gap: 10px; }
.hm-head > div { flex: 1; }
.hm-head small { display: block; font-size: 9px; font-weight: 600; letter-spacing: 2px; color: #6d7375; margin-bottom: 6px; }
.hm-head h4 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.1; }
.hm-ico { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #e3ddd1; border-radius: 11px; background: #fffdf8; color: #4d5356; }
.hm-ico.on { background: #dff2f6; border-color: #bfe3ec; color: #2d7f95; }
.hm-ico svg { width: 17px; height: 17px; }

.hm-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 212px; grid-template-rows: 250px minmax(0, 1fr); gap: 12px; min-height: 0; }
.hm-grid > section { position: relative; border-radius: 22px; overflow: hidden; }
.hm-hero { background: radial-gradient(at 76% 55%, #d1f0f4 0, transparent 66%), linear-gradient(125deg, #fffcf7 23%, #e9f7f7 80%, #f8e2e6); border: 1px solid #d6e5e4; box-shadow: 0 12px 28px rgba(76, 104, 121, .07); overflow: visible !important; }
.hm .hm-sub { position: absolute; left: 22px; top: 10px; width: 300px; font-size: 12px; }
.hm-quick { position: absolute; right: 16px; top: 16px; padding: 6px 11px; border: 1px solid #d5dadb; border-radius: 9px; background: #fff; font-size: 11px; color: #3e4245; }
.hm-bubbles { position: absolute; right: 38px; top: 54px; width: 190px; height: 130px; }
.hm-bubbles i { position: absolute; display: flex; align-items: center; justify-content: center; font-style: normal; border-radius: 26px; box-shadow: 0 18px 30px -18px rgba(60, 90, 140, .6); }
.hm-bubbles .hb1 { left: 0; top: 0; width: 118px; height: 82px; gap: 4px; background: linear-gradient(135deg, #a8d3fb, #6c96ec); animation: hm-bob 5s ease-in-out infinite; }
.hm-bubbles .hb1 b { width: 4px; border-radius: 2px; background: rgba(255, 255, 255, .9); animation: hm-bar 1.1s ease-in-out infinite; }
.hm-bubbles .hb1 b:nth-child(odd) { height: 16px; } .hm-bubbles .hb1 b:nth-child(even) { height: 30px; }
.hm-bubbles .hb1 b:nth-child(2) { animation-delay: -.2s; } .hm-bubbles .hb1 b:nth-child(3) { animation-delay: -.5s; } .hm-bubbles .hb1 b:nth-child(4) { animation-delay: -.8s; } .hm-bubbles .hb1 b:nth-child(5) { animation-delay: -.3s; } .hm-bubbles .hb1 b:nth-child(6) { animation-delay: -.6s; }
.hm-bubbles .hb2 { right: 0; bottom: 0; width: 130px; height: 82px; background: linear-gradient(135deg, #ffc6c6, #f59a9a); color: #6e3b3d; font: 700 17px/1.2 "Chakra Petch", "Bahnschrift", sans-serif; text-align: center; animation: hm-bob 5s ease-in-out -2.5s infinite; }
@keyframes hm-bob { 50% { transform: translateY(-6px); } }
@keyframes hm-bar { 50% { transform: scaleY(.45); } }
.hm-actions { position: absolute; left: 22px; bottom: 16px; display: flex; align-items: center; gap: 7px; }
.hm-actions span { padding: 7px 10px; border: 1px solid #d5dadb; border-radius: 9px; background: rgba(255, 255, 255, .85); font-size: 10px; color: #3e4245; }
.hm-actions .hm-start { padding: 12px 18px; border: 0; border-radius: 12px; background: var(--teal); color: var(--teal-ink); font-size: 13px; font-weight: 600; box-shadow: 0 4px 10px rgba(66, 159, 176, .1); }
.hm-enter { position: absolute; right: 16px; bottom: 16px; padding: 5px 10px; border: 1px solid #d5dadb; border-radius: 8px; background: #fff; font-size: 10px; color: #3e4245; }
.hm-toast { display: none; }

.hm-plan { display: flex; flex-direction: column; align-items: center; padding: 16px; background: #fffdf8; border: 1px solid #e1dcd2; box-shadow: 0 12px 28px rgba(76, 104, 121, .07); }
.hm-plan-top { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.hm-plan-top b { font-size: 22px; font-weight: 800; color: #6a5693; }
.hm-plan-top span { padding: 5px 10px; border: 1px solid #ddd6c9; border-radius: 9px; font-size: 10px; color: #6c6356; }
.hm-gauge { width: 150px; height: 88px; margin-top: 14px; }
.hm-plan strong { margin-top: -14px; font-size: 30px; font-weight: 600; color: #3a3d40; }
.hm-plan strong small { font-size: 12px; margin-left: 2px; }
.hm-plan p { margin: 2px 0 0; font-size: 10px; color: #7a7e81; }
.hm-link { margin-top: auto; font-size: 10px; color: #4b5256; }

.hm-promo { padding: 20px 24px; background: linear-gradient(120deg, #ecebd8, #f2efdc); border: 1px solid #dedcc3; color: #2f5a44; }
.hm-promo small { font-size: 9px; font-weight: 700; letter-spacing: 1px; }
.hm-promo h5 { margin: 10px 0 0; font-size: 26px; font-weight: 900; line-height: 1.25; }
.hm-promo p { margin: 8px 0 0; font-size: 9px; color: #6f7f6a; }
.hm-go { position: absolute; left: 24px; bottom: 18px; display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 600; }
.hm-go i { display: grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid #2f5a44; border-radius: 50%; font-style: normal; font-size: 10px; }
.hm-big { position: absolute; right: 36px; bottom: -34px; font: italic 900 200px/1 "Chakra Petch", "Bahnschrift", sans-serif; color: #2f5a44; opacity: .9; transform: skewX(-8deg); }

.hm-talent { padding: 16px; background: linear-gradient(160deg, #f4f1fb, #fbeef2); border: 1px solid #e6e0ef; }
.hm-talent b { font-size: 12px; }
.hm-cards { position: absolute; left: 50%; bottom: -10px; width: 170px; height: 130px; transform: translateX(-50%); }
.hm-cards i { position: absolute; bottom: 0; width: 76px; height: 108px; border-radius: 9px; border: 3px solid #fff; box-shadow: 0 10px 20px -10px rgba(40, 30, 70, .5); }
.hm-cards i:nth-child(1) { left: 0; background: linear-gradient(160deg, #f6c6d6, #e98fb0); transform: rotate(-12deg); }
.hm-cards i:nth-child(2) { left: 47px; bottom: 12px; z-index: 1; background: linear-gradient(160deg, #8f7be6 0 38%, #fff 38%); }
.hm-cards i:nth-child(3) { right: 0; background: linear-gradient(160deg, #f59c62, #e5663d); transform: rotate(11deg); }

/* ================= 字幕样式（与客户端字幕实验室相同的十种） ================= */
.sl-frame { --sl-bg: 36 39 47; --sl-ink: #fbfcfd; --sl-me: #9be7ff; --sl-opacity: .82; position: relative; font-size: 13px; }
.sl-subtitle { position: relative; padding: 22px 16px 22px; border-radius: 12px; background: rgb(var(--sl-bg) / var(--sl-opacity)); color: var(--sl-ink); border: 1px solid #ffffff25; box-shadow: 0 6px 20px #24233620; }
.sl-line { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.sl-line b { flex: 0 0 25px; padding-top: 3px; font-size: .76em; font-weight: 650; opacity: .8; }
.sl-line strong { display: block; font-weight: 650; }
.sl-line span { display: block; padding-top: 2px; font-size: .83em; opacity: .78; }
.sl-self { margin-top: 8px; padding-top: 8px; border-top: 1px solid #8e879c40; color: var(--sl-me); }
.sl-watermark { position: absolute; right: 14px; bottom: 5px; font-size: 9px; line-height: 14px; letter-spacing: 1.5px; opacity: .7; }
.sl-kicker { position: absolute; left: 12px; top: -11px; padding: 2px 6px; border-radius: 3px; background: #ece4d9; color: #504955; font-size: 8px; letter-spacing: 1px; }
.sl-kicker:empty, .sl-sticker:empty { display: none; }
.sl-sticker { position: absolute; left: -9px; bottom: -15px; padding: 6px 7px; border: 2px solid #342638; border-radius: 7px; background: #fff8cc; color: #302338; font-weight: 900; font-size: 12px; transform: rotate(-7deg); box-shadow: 2px 3px #342638; }
.sl-frame[data-theme="tactical"] { --sl-ink: #fbfcfd; --sl-me: #9be7ff; }
.sl-frame[data-theme="cozy"] { --sl-bg: 255 232 224; --sl-ink: #5e4442; --sl-me: #a04661; }
.sl-frame[data-theme="cozy"] .sl-subtitle { border: 3px solid #fffafa; border-radius: 22px; box-shadow: 0 5px 0 #e5c5c0; }

/* ================= 套餐卡（客户端“我的套餐”同款能量条与光晕） ================= */
.pc-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: center; perspective: 900px; }
.pc { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 330px; padding: 22px 16px 14px; border: 1px solid rgba(var(--tone-rgb), .35); border-radius: 17px; background: #fff; color: #282a2c;
  filter: saturate(.2); opacity: .72; transition: filter .5s, opacity .5s, box-shadow .5s, border-color .5s, transform .25s ease-out; }
.pc:nth-child(2) { min-height: 356px; } .pc:nth-child(3) { min-height: 382px; }
.pc.lit { filter: none; opacity: 1; border-color: rgba(var(--tone-rgb), .7); box-shadow: 0 0 14px rgba(var(--tone-rgb), .3), 0 0 34px rgba(var(--tone-rgb), .16), 0 14px 28px #293e4712; }
.pc-halo { position: absolute; inset: 1px; z-index: -1; overflow: hidden; border-radius: 16px; pointer-events: none; opacity: 0; transition: opacity .8s; }
.pc.lit .pc-halo { opacity: 1; }
.pc-halo i { position: absolute; top: 34px; left: 5%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(from 30deg, transparent 4%, rgba(var(--tone-rgb), .03) 25%, rgba(var(--tone-rgb), .2) 56%, rgba(var(--tone-rgb), .04) 83%, transparent 96%); -webkit-mask: radial-gradient(circle, transparent 48%, #000 59%, #000 63%, transparent 72%); mask: radial-gradient(circle, transparent 48%, #000 59%, #000 63%, transparent 72%); animation: pc-ring 12s linear infinite; }
.pc:nth-child(2) .pc-halo i { animation-duration: 14s; animation-delay: -4s; } .pc:nth-child(3) .pc-halo i { animation-duration: 16s; animation-delay: -8s; }
@keyframes pc-ring { to { transform: rotate(360deg); } }
.pc h3 { font: 750 17px/1.25 var(--cn); letter-spacing: -.3px; white-space: nowrap; }
.pc h3 em { margin-left: 4px; padding: 2px 7px; border-radius: 999px; background: var(--tone-ink); color: #fff; font: 700 11px/1.4 var(--cn); font-style: normal; vertical-align: 2px; }
.pc-tag { margin-top: 4px; font-size: 12px; color: #747477; }
.pc-usage { margin-top: 12px; display: flex; align-items: baseline; gap: 4px; font-size: 12px; color: var(--tone-ink); }
.pc-usage strong { font: 620 44px/1 var(--mono); letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.pc-eq { margin-top: 6px; font-size: 12px; color: #7f7c75; }
.pc-meter { position: relative; display: block; height: 26px; margin: 16px 0 12px; border: 1px solid rgba(var(--tone-rgb), .65); border-radius: 99px; background: rgba(var(--tone-rgb), .065); }
.pc-fill { position: absolute; inset: 3px; overflow: hidden; border-radius: 99px; background: var(--tone); clip-path: inset(0 calc((1 - var(--charge, 0)) * 100%) 0 0 round 99px); }
.pc-shine { position: absolute; top: 0; bottom: 0; left: calc(var(--fill) * 40%); right: calc((1 - var(--fill)) * 100%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); background: linear-gradient(110deg, #368bc4, #77e4ed 20%, #8087e3 42%, #b6f4f1 60%, #408bcb 80%, #77e4ed); background-size: 260% 100%; animation: pc-iris 3s linear infinite; }
.pc:nth-child(2) .pc-shine { background-image: linear-gradient(110deg, #8863bb, #c59aec 20%, #93a8ef 42%, #ecd1f4 60%, #9959b4 80%, #c59aec); }
.pc:nth-child(3) .pc-shine { background-image: linear-gradient(110deg, #a5092e, #ed3b67 20%, #b53f87 42%, #ff998f 60%, #b71033 80%, #ed3b67); }
@keyframes pc-iris { from { background-position: 100% 50%; } to { background-position: 0% 50%; } }
.pc-feat { font-size: 12px; color: #4a4c4f; }
.pc-feat::before { content: "✓"; margin-right: 6px; color: var(--tone-ink); }
.pc-price { display: flex; align-items: baseline; gap: 3px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(var(--tone-rgb), .25); }
.pc-price span { font-size: 14px; }
.pc-price strong { font: 620 30px/1 var(--mono); letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.pc-price small { font-size: 11px; color: #6f6b64; margin-left: 4px; }
/* Pro 装满后能量从右端冲出来 */
.pc-burst { position: absolute; right: -6px; top: 50%; width: 0; height: 0; pointer-events: none; }
.pc-burst i { position: absolute; left: 0; top: 0; width: 8px; height: 12px; background: #f4d8dd; border: 1px solid #cf5670; clip-path: polygon(10% 5%, 90% 0, 70% 68%, 0 100%); opacity: 0; }
.pc-burst i:nth-child(1) { --sx: 26px; --sy: -30px; --sr: 110deg; } .pc-burst i:nth-child(2) { --sx: 30px; --sy: 14px; --sr: -70deg; background: #d12a4b; }
.pc-burst i:nth-child(3) { --sx: 12px; --sy: -38px; --sr: -110deg; } .pc-burst i:nth-child(4) { --sx: 28px; --sy: -8px; --sr: 170deg; background: #e44c6a; }
.pc-burst i:nth-child(5) { --sx: 14px; --sy: 32px; --sr: -70deg; } .pc-burst i:nth-child(6) { --sx: 36px; --sy: 26px; --sr: 90deg; }
.pc-burst::before { content: ""; position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle, #fff4e8 0%, #f35b7b66 24%, #d9123f25 42%, transparent 70%); opacity: 0; }
.pc.burst .pc-burst i { animation: pc-shard 1.2s ease-out both; }
.pc.burst .pc-burst::before { animation: pc-flash 1.2s ease-out both; }
.pc.burst .pc-meter { animation: pc-press .6s ease both; }
@keyframes pc-shard { 0% { opacity: 0; transform: none; } 12% { opacity: 1; } 80% { opacity: .75; transform: translate(var(--sx), var(--sy)) rotate(var(--sr)); } 100% { opacity: 0; transform: translate(var(--sx), var(--sy)) rotate(var(--sr)); } }
@keyframes pc-flash { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes pc-press { 30% { transform: scale(1.025, 1.16); } 45% { transform: translateX(-1px) scale(1.015, 1.1); } 60% { transform: translateX(1px) scale(1.02, 1.12); } }

/* ================= 时长卡沙漏（客户端 time-card 同款） ================= */
.tc-hourglass { --sand: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 56px; }
.tc-hourglass svg { width: 38px; height: 50px; overflow: visible; }
.tc-glass { fill: #fff9e9; stroke: #bfad8b; stroke-width: 1.2; }
.tc-frame { stroke: #927a57; stroke-width: 3; stroke-linecap: round; }
.tc-sand-top, .tc-sand-bottom { fill: #d7a54e; transform-box: fill-box; transform-origin: center bottom; }
.tc-sand-top { transform: scaleY(var(--sand)); }
.tc-sand-bottom { transform: scaleY(calc(1 - var(--sand))); }
.tc-stream { stroke: #d7a54e; stroke-width: 1.3; stroke-dasharray: 2 2; opacity: 0; }
.ticket.active .tc-stream { opacity: .8; animation: tc-fall .8s linear infinite; }
@keyframes tc-fall { to { stroke-dashoffset: -4; } }

@media (max-width: 900px) {
  .pc-row { grid-template-columns: 1fr; }
  .pc, .pc:nth-child(2), .pc:nth-child(3) { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hm *, .pc *, .tc-stream { animation: none !important; }
}

/* ================= 创作者计划：创作版 / 赛事版 ================= */
.cp-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.cp-card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 22px 18px; border-radius: 18px; background: linear-gradient(160deg, #f6f2ff, #fff 55%); border: 1px solid rgba(163, 139, 207, .45); box-shadow: 0 30px 60px -44px rgba(114, 82, 145, .8); overflow: hidden; }
.cp-card::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: #a38bcf; }
.cp-tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: rgba(163, 139, 207, .16); color: #725291; font: 700 12px/1.3 var(--cn); }
.cp-card h3 { font: 900 22px/1.3 var(--cn); }
.cp-card ul { display: flex; flex-direction: column; gap: 8px; }
.cp-card li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.55; color: var(--soft); }
.cp-card li::before { content: "✦"; position: absolute; left: 0; top: 0; font-size: 11px; color: #a38bcf; }
.cp-foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed rgba(163, 139, 207, .45); font-size: 12px; color: #725291; }
.cp-card.vct { background: linear-gradient(160deg, #222a34, #151a21); border-color: #394350; color: #eef2f6; box-shadow: 0 30px 60px -40px rgba(20, 24, 30, .9); }
.cp-card.vct::before { background: var(--red); }
.cp-card.vct .cp-tag { background: rgba(226, 59, 79, .18); color: #ff8a91; }
.cp-card.vct li { color: #c9d1da; }
.cp-card.vct li::before { color: #ff8a91; }
.cp-card.vct .cp-foot { border-color: #3a4450; color: #9fb0c0; }
@media (max-width: 900px) { .cp-row { grid-template-columns: 1fr; } }

/* 高级字幕样式：软糖对讲机、潮流字卡、雷达扫描（照客户端 subtitle-concepts.css / subtitle-motion-frames.css） */
.sl-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sl-concept-heading { position: absolute; top: 12px; left: 16px; font: 750 9px/1.2 ui-monospace, monospace; letter-spacing: 2px; }
.sl-concept-ornament { position: absolute; right: 16px; top: 11px; }
.sl-frame[data-theme="gummy"] { --sl-ink: #49364f; --sl-me: #39446a; --sl-opacity: .92; }
.sl-frame[data-theme="gummy"] .sl-subtitle { padding: 30px 4px 22px; border: 0; background: none; box-shadow: none; border-radius: 0; }
.sl-frame[data-theme="gummy"] .sl-concept-heading { left: 13px; top: 3px; color: #704360; background: #fff1f8; padding: 3px 8px; border-radius: 8px; font-family: inherit; font-size: 11px; letter-spacing: .2px; }
.sl-frame[data-theme="gummy"] .sl-line { position: relative; gap: 10px; padding: 12px 14px; border: 2px solid #fff9fb; border-radius: 21px 21px 21px 5px; background: rgb(252 221 236 / var(--sl-opacity)); box-shadow: inset 0 3px 0 #ffffffa8, 0 4px 0 #d8acc7, 0 8px 14px #80527a12; margin-right: 17px; }
.sl-frame[data-theme="gummy"] .sl-self { margin: 12px 0 0 17px; padding: 12px 14px; background: rgb(222 235 255 / var(--sl-opacity)); border: 2px solid #f7fcff; border-radius: 21px 21px 5px 21px; box-shadow: inset 0 3px 0 #ffffffa8, 0 4px 0 #a6bbd8, 0 8px 14px #596e8512; }
.sl-frame[data-theme="gummy"] .sl-line b { flex-basis: 25px; opacity: 1; font-size: .74em; padding-top: 3px; }
.sl-frame[data-theme="gummy"] .sl-concept-ornament { width: 29px; height: 26px; right: 5px; top: 1px; border: 2px solid #fff9fb; border-radius: 11px 12px 10px 9px; background: #eed081; box-shadow: inset 0 3px 0 #fff0b7, 0 3px 0 #be9c62; }
.sl-frame[data-theme="gummy"] .sl-concept-ornament::before, .sl-frame[data-theme="gummy"] .sl-concept-ornament::after { content: ""; position: absolute; top: 9px; width: 3px; height: 4px; border-radius: 3px; background: #64502b; }
.sl-frame[data-theme="gummy"] .sl-concept-ornament::before { left: 7px; } .sl-frame[data-theme="gummy"] .sl-concept-ornament::after { right: 7px; }
.sl-frame[data-theme="gummy"] .sl-watermark { color: #644663; right: 10px; bottom: 0; background: #fff1f8; padding: 0 6px; border-radius: 5px; opacity: 1; }
.sl-frame[data-theme="typecard"] { --sl-ink: #171b24; --sl-me: #fbf8ef; --sl-opacity: .95; }
.sl-frame[data-theme="typecard"] .sl-subtitle { padding: 26px 0 20px; border: 0; background: none; box-shadow: none; border-radius: 0; }
.sl-frame[data-theme="typecard"] .sl-concept-heading { top: 4px; left: 1px; letter-spacing: 1.5px; color: #171b24; font-weight: 900; font-size: 10px; background: #f3f0e6; padding: 3px 6px; }
.sl-frame[data-theme="typecard"] .sl-concept-ornament { top: -3px; right: 3px; color: #181e29; font: 900 26px/1 sans-serif; text-shadow: 1px 1px #f3f0e6, -1px -1px #f3f0e6; }
.sl-frame[data-theme="typecard"] .sl-line { display: block; padding: 10px 14px 12px; background: rgb(228 245 121 / var(--sl-opacity)); border-left: 4px solid #1b2029; box-shadow: 4px 4px 0 #1a2028; border-radius: 0; }
.sl-frame[data-theme="typecard"] .sl-line b { display: block; width: max-content; padding: 0 0 4px; font-size: .68em; letter-spacing: 2px; opacity: .85; }
.sl-frame[data-theme="typecard"] .sl-line strong { font-size: 1.15em; font-weight: 850; line-height: 1.35; }
.sl-frame[data-theme="typecard"] .sl-self { background: rgb(28 34 45 / var(--sl-opacity)); border: 0; border-left: 4px solid #dcef84; box-shadow: 4px 4px 0 #99a359; margin: 9px 0 0 12px; padding: 10px 14px 12px; }
.sl-frame[data-theme="typecard"] .sl-watermark { color: #25322a; right: 0; bottom: 0; background: #f3f0e6; padding: 0 5px; opacity: 1; }
.sl-frame[data-theme="sweep"] { --sl-ink: #eafcff; --sl-me: #8ff0d2; }
.sl-frame[data-theme="sweep"] .sl-subtitle { position: relative; z-index: 1; background: none; border-color: transparent; box-shadow: none; }
.sl-plate { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: 6px; pointer-events: none; border: 1px solid #6ff0d04d; background: linear-gradient(#6ff0d010 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, #6ff0d010 1px, transparent 1px) 0 0 / 18px 18px, rgb(9 29 33 / .86); }
.sl-plate i { position: absolute; display: block; }
.sl-sweep-beam { left: -72%; top: 50%; width: 180%; aspect-ratio: 1; margin-top: -90%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 290deg, #6ff0d000 290deg, #6ff0d05c 360deg); animation: sl-spin 4.2s linear infinite; }
.sl-sweep-core { left: calc(18% - 5px); top: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%; border: 1px solid #8ff0d2aa; box-shadow: 0 0 0 5px #6ff0d014; }
.sl-sweep-ping { left: calc(18% - 8px); top: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #8ff0d200; }
.sl-sweep-blip { width: 5px; height: 5px; border-radius: 50%; background: #ff606d; box-shadow: 0 0 6px #ff606d; opacity: 0; left: calc(46% + var(--blip) * 17%); top: calc(28% + var(--blip) * 19%); animation: sl-blip 4.2s ease-out infinite; animation-delay: calc(-3.1s + var(--blip) * .55s); }
.sl-frame[data-theme="sweep"] .sl-watermark { color: #bdf7e5; }
@keyframes sl-spin { to { transform: rotate(360deg); } }
@keyframes sl-blip { 0%, 100% { opacity: 0; transform: scale(.4); } 6% { opacity: 1; transform: scale(1.2); } 40% { opacity: .35; transform: scale(1); } 70% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sl-plate i { animation: none !important; } }
/* 主页示意里空间有限：两种卡片样式收紧，保证不压到下面的按钮 */
.hm .sl-frame[data-theme="gummy"] .sl-subtitle { padding: 24px 2px 16px; }
.hm .sl-frame[data-theme="gummy"] .sl-line { padding: 8px 12px; }
.hm .sl-frame[data-theme="gummy"] .sl-self { margin-top: 8px; padding: 8px 12px; }
.hm .sl-frame[data-theme="typecard"] .sl-subtitle { padding: 22px 0 14px; }
.hm .sl-frame[data-theme="typecard"] .sl-line { padding: 7px 12px 8px; }
.hm .sl-frame[data-theme="typecard"] .sl-self { margin-top: 7px; padding: 7px 12px 8px; }
.hm .sl-frame[data-theme="typecard"] .sl-line strong { font-size: 1.08em; }
.hm .sl-frame[data-theme="typecard"] .sl-line { display: flex; gap: 8px; align-items: flex-start; }
.hm .sl-frame[data-theme="typecard"] .sl-line b { display: inline-block; flex: none; padding: 3px 0 0; }
.hm .sl-frame[data-theme="typecard"] .sl-line strong { font-size: 1.04em; }
.hm .sl-frame[data-theme="gummy"] .sl-subtitle { padding: 22px 2px 10px; }
