.bubble-wallpaper-page{min-height:100vh;display:flex;flex-direction:column}
.bubble-wallpaper-page .showcase-app{width:100%;box-sizing:border-box;flex:1}
.bubble-wallpaper-page .bubble-header{display:flex;justify-content:space-between;gap:16px;min-height:76px;padding:0 30px;background:rgba(255,255,255,.94);backdrop-filter:blur(18px)}
.bubble-header .bubble-brand{display:block!important;border:0;padding:0;background:transparent;font-family:"STXingkai","华文行楷","KaiTi","楷体",serif!important;font-size:32px!important;font-weight:800!important;letter-spacing:3px!important;line-height:1.4!important;color:#5b54bf!important;text-shadow:0 2px 0 #eee8ff!important;text-decoration:none;white-space:nowrap}
@supports (-webkit-background-clip:text){.bubble-header .bubble-brand{background:linear-gradient(120deg,#324fa5 10%,#9162bd 55%,#cc789c);background-clip:text;-webkit-background-clip:text;color:transparent!important;text-shadow:none!important}}
.bubble-auth{display:flex;align-items:center;gap:12px;margin-left:auto}
.bubble-auth a,.bubble-auth button{box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:8px 20px;border:1px solid #e2def3;border-radius:12px;color:#625584;background:#fff;font:600 14px/1.3 "Microsoft YaHei",sans-serif;text-decoration:none;cursor:pointer}
.bubble-auth .bubble-login{color:#fff;border-color:transparent;background:linear-gradient(120deg,#5960c9,#9474cb);box-shadow:0 4px 12px #7764bf24}
.bubble-auth [hidden]{display:none!important}
.bubble-account-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink);font-size:14px}
html.bubble-wallpaper-guest #bubbleGuestNotice{display:none!important}
.bubble-legal-dock{position:fixed;right:0;bottom:calc(24px + env(safe-area-inset-bottom));z-index:150;display:flex;align-items:center;gap:6px;padding:8px 12px 8px 6px;background:rgba(255,255,255,.96);border:1px solid #e4def3;border-right:0;border-radius:16px 0 0 16px;box-shadow:0 6px 28px #3f315c24;backdrop-filter:blur(16px)}
.bubble-dock-toggle{flex:none;width:26px;height:40px;border:0;border-radius:9px;background:#f3effa;color:#796690;font-size:20px;cursor:pointer}
.bubble-dock-content{display:flex;gap:6px}
.bubble-legal-dock details{position:relative}
.bubble-legal-dock summary{list-style:none;cursor:pointer;padding:11px 9px;border-radius:10px;background:#f5f2fa;color:#584971;font-size:13px;font-weight:600;white-space:nowrap}
.bubble-legal-dock summary::-webkit-details-marker{display:none}
.bubble-legal-dock summary::after{content:'⌃';margin-left:7px;color:#9c8db1}
.bubble-legal-dock details[open] summary{background:#eae3f5}
.bubble-dock-menu{position:absolute;bottom:calc(100% + 15px);right:0;box-sizing:border-box;width:194px;padding:8px;background:#fff;border:1px solid #e4def3;border-radius:14px;box-shadow:0 8px 30px #3f315c24}
.bubble-dock-menu a{display:block;padding:11px 12px;border-radius:8px;color:#514763;text-decoration:none;font-size:14px}
.bubble-dock-menu a:hover{background:#f4effb;color:#6750a0}
.bubble-legal-dock [hidden]{display:none!important}
.bubble-legal-dock.is-collapsed{padding-right:4px;gap:0}
.bubble-legal-dock.is-collapsed .bubble-dock-content{display:none}
.bubble-wallpaper-page #legalComplianceBar{margin-top:20px;padding-bottom:90px}
.bubble-auth a:focus-visible,.bubble-auth button:focus-visible,.bubble-legal-dock :focus-visible{outline:3px solid #a18bdd;outline-offset:3px}
.dark .bubble-header,.dark .bubble-auth a,.dark .bubble-auth button,.dark .bubble-legal-dock,.dark .bubble-dock-menu{background:#181c30;color:#e0d7f2;border-color:#3b3655}
.dark .bubble-legal-dock summary,.dark .bubble-dock-toggle{background:#2c2840;color:#ddd1f0}
.dark .bubble-dock-menu a{color:#ddd1f0}
.dark .bubble-dock-menu a:hover{background:#302943}
@media(max-width:780px){.bubble-wallpaper-page .bubble-header{min-height:66px;padding:10px 16px}.bubble-header .bubble-brand{font-size:27px!important;letter-spacing:1px!important}.bubble-auth{gap:7px}.bubble-auth a,.bubble-auth button{padding:8px 13px;min-height:38px;font-size:13px}.bubble-account-name{max-width:90px;font-size:12px}.bubble-legal-dock{bottom:calc(16px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:no-preference){.bubble-auth a,.bubble-dock-toggle{transition:background .2s,box-shadow .2s}}
.bubble-legal-dialog{box-sizing:border-box;width:min(1440px,94vw);height:92vh;height:92dvh;max-width:94vw;max-height:94vh;max-height:94dvh;padding:0;border:1px solid #e4def3;border-radius:22px;background:#fff;color:#302943;box-shadow:0 24px 80px #22153740}
.bubble-legal-dialog::backdrop{background:#17142788;backdrop-filter:blur(5px)}
.bubble-legal-dialog[open]{display:flex;flex-direction:column}
.bubble-legal-dialog [hidden]{display:none!important}
.bubble-legal-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex:none;padding:18px 26px;border-bottom:1px solid #e8e2f0;background:#faf8fe}
.bubble-legal-dialog-head h2{margin:0;font-size:20px;line-height:1.4}
.bubble-legal-close{flex:none;width:40px;height:40px;border:1px solid #e6dfef;border-radius:12px;background:#fff;color:#766489;font-size:25px;cursor:pointer}
.bubble-legal-dialog-body{position:relative;flex:1;min-height:0}
.bubble-legal-frame{display:block;box-sizing:border-box;width:100%;height:100%;border:0;background:#fff}
.bubble-legal-dialog.is-loading .bubble-legal-frame{visibility:hidden}
.bubble-legal-status,.bubble-legal-error{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;margin:0;padding:24px;text-align:center;color:#7b6a92;background:#fff}
.bubble-legal-error button{padding:10px 20px;border:1px solid #ddd3ec;border-radius:10px;background:#f3eefa;color:#65517f;cursor:pointer;font:inherit}
.bubble-legal-close:focus-visible,.bubble-legal-error button:focus-visible{outline:3px solid #a18bdd;outline-offset:3px}
@media(max-width:600px){.bubble-legal-dialog{width:96vw;max-width:96vw;height:94vh;height:94dvh;border-radius:16px}.bubble-legal-dialog-head{padding:12px 16px}.bubble-legal-dialog-head h2{font-size:17px}}

.bubble-legal-dialog-actions{display:flex;align-items:center;gap:10px}.showcase-license-button{position:absolute;z-index:2;left:10px;top:10px;padding:7px 14px;border:0;border-radius:20px;background:#245fea;color:white;font:inherit;font-weight:600;cursor:pointer}

.bubble-wallpaper-page #bubbleGuestNotice{position:fixed;z-index:160;top:92px;left:50%;transform:translateX(-50%);box-sizing:border-box;width:max-content;max-width:min(560px,calc(100vw - 32px));pointer-events:none;line-height:1.6;margin:0;padding:14px 22px;border-radius:14px;box-shadow:0 8px 30px #203f7b24}
.bubble-wallpaper-page #bubbleGuestNotice[hidden]{display:none!important}
.bubble-wallpaper-page .showcase-app .showcase-section-head{display:flex;align-items:center;flex-wrap:wrap;gap:14px}
.bubble-wallpaper-page .showcase-section-head .showcase-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-left:auto;width:auto;min-width:0}
@media(max-width:780px){
 .bubble-wallpaper-page .showcase-title-line{display:none}
 .bubble-wallpaper-page #bubbleGuestNotice{top:82px;padding:12px 16px;font-size:13px}
 .bubble-wallpaper-page .showcase-app .showcase-section-head{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
 .bubble-wallpaper-page .showcase-section-head .showcase-actions{width:100%;margin:0;justify-content:flex-start;gap:7px}
 .bubble-wallpaper-page .showcase-actions .showcase-search{flex:1 1 155px;width:auto;min-width:0}
 .bubble-wallpaper-page .showcase-actions .showcase-refresh{padding:10px 9px}
}

.bubble-wallpaper-page #bubbleGuestNotice a,.bubble-wallpaper-page #bubbleGuestNotice button{pointer-events:auto}
