/* Irivi · static/app/creator-qr.css —— 创作者卡片的分享菜单与二维码面板（creator-qr.js，负责人 2026-11-07） */
.cw-share-layer{position:fixed;inset:0;z-index:60;display:flex;align-items:flex-end;justify-content:center}
.cw-share-dim{position:absolute;inset:0;background:rgba(22,18,28,.45)}
.cw-share-menu,.cw-qr{position:relative;box-sizing:border-box;width:min(440px,100%);background:#fff;color:#24212A;border-radius:22px 22px 0 0;
  padding:12px 14px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(36,20,70,.14);outline:0;font-family:var(--f-ui,inherit)}
.cw-share-opt{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin:0;border:0;border-radius:14px;background:transparent;
  color:#24212A;font:inherit;font-size:16px;font-weight:800;cursor:pointer}
.cw-share-opt:hover,.cw-share-opt:focus-visible{background:#F3EEFB;outline:0}
.cw-share-opt.is-cancel{margin-top:6px;background:#F4F2F7}
.cw-qr{display:flex;flex-direction:column;align-items:center;gap:0;max-height:100vh;overflow:auto}
.cw-qr-box{display:flex;align-items:center;justify-content:center;width:min(300px,72vw);aspect-ratio:720/1000;border-radius:18px;background:#F3EEFB;overflow:hidden}
.cw-qr-img{display:block;width:100%;height:100%;object-fit:contain}
/* 只这张合成的卡片图允许长按保存（其余图片仍受 image_protection 保护） */
[data-pt-save-allowed] img{-webkit-touch-callout:default;-webkit-user-select:auto;user-select:auto}
.cw-qr-wait{padding:0 18px;text-align:center;font-size:14px;font-weight:700;color:#24212A}
.cw-qr .ir-notice{align-self:stretch;justify-content:center}
.cw-qr-actions{display:flex;gap:10px;width:100%;margin-top:12px}
.cw-qr-actions .cw-pbtn{flex:1;justify-content:center;height:46px;font-size:15px;background:#F4F2F7;color:#24212A}
.cw-qr-actions .cw-pbtn.p{background:var(--brand,#7349D8);color:#fff}
.cw-qr-save[aria-disabled="true"]{opacity:.5;pointer-events:none}
@media (min-aspect-ratio:1/1){.cw-share-layer{align-items:center}.cw-share-menu,.cw-qr{border-radius:22px;padding-bottom:16px}}
/* 名片海报（creator-poster.js，负责人 2026-11-10）：竖版 1080×1920 预览 */
.cw-qr-box.cw-poster-box{width:min(260px,58vw,calc((100vh - 220px) * 9 / 16));aspect-ratio:1080/1920}
.cw-qr-box.cw-poster-box{background:transparent;border-radius:12px;box-shadow:0 6px 20px rgba(36,20,70,.16)}
/* 编辑器里没有公开页的 .cw-pbtn 基础样式：保存按钮（<a>）与“关闭”统一成居中的圆角按钮 */
.cw-qr-actions .cw-pbtn{display:inline-flex;align-items:center;border:0;border-radius:999px;font:inherit;font-size:15px;font-weight:800;text-decoration:none;cursor:pointer}
/* 长图（creator-longimage.js，开发指令 2026-11-12 §5.1）：选择面板与结果列表 */
.cw-qr.cw-longimg{align-items:stretch;max-height:92vh}
.cw-longimg-form{display:flex;flex-direction:column;gap:10px}
.cw-longimg-h{margin:4px 0 2px;text-align:center;font-size:17px;font-weight:900}
.cw-longimg-set{margin:0;padding:10px 12px;border:1px solid #E7E2EF;border-radius:14px;display:flex;flex-direction:column;gap:2px}
.cw-longimg-set legend{padding:0 4px;font-size:14px;font-weight:800}
.cw-longimg-opt{display:flex;align-items:center;gap:10px;min-height:44px;font-size:16px;font-weight:600;cursor:pointer}
.cw-longimg-opt input{width:20px;height:20px;margin:0;accent-color:var(--brand,#7349D8)}
.cw-longimg-list{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:10px}
.cw-qr-box.cw-longimg-box{flex-direction:column;gap:8px;width:min(300px,76vw);aspect-ratio:auto;background:transparent;overflow:visible}
.cw-longimg-img{height:auto;border-radius:10px;box-shadow:0 6px 20px rgba(36,20,70,.16)}
.cw-longimg-save{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 18px;border-radius:999px;background:var(--brand,#7349D8);color:#fff;font-size:14px;font-weight:800;text-decoration:none}
