/* Shared artwork, scoped to performance reminders and their administration preview. */
.performance-bubble{position:absolute;width:116px;height:136px;border:0;padding:0;background:none;color:#4a281b;transform:translate(-50%,-100%) scale(.64);transform-origin:50% 100%;pointer-events:auto;cursor:pointer;touch-action:none;-webkit-tap-highlight-color:transparent;text-shadow:none;filter:drop-shadow(0 3px 4px #48210d45);font-family:"PingFang SC","Microsoft YaHei",sans-serif;isolation:isolate}
.performance-bubble::after{content:"";position:absolute;bottom:0;left:calc(50% - 4px);width:8px;height:8px;border:2px solid #fff8e9;background:#b54430;border-radius:50%;box-sizing:border-box}
.performance-bubble-art{position:absolute;inset:0 0 6px;background:center/100% 100% no-repeat url('../assets/ui/performance-bubble-frame.svg?v=1');pointer-events:none}
.performance-bubble-ink{position:absolute;left:18%;right:18%;top:18px;height:80px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;pointer-events:none}
.performance-bubble-stage{display:block;width:24px;height:14px;flex-shrink:0;background:center/contain no-repeat url('../assets/ui/performance-stage.svg?v=1')}
.performance-bubble-name{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere;white-space:normal;text-align:center;font:700 11px/14px "Songti SC",STSong,serif;max-width:100%;max-height:30px;padding:1px 0;box-sizing:content-box;flex-shrink:0}
.performance-bubble-count{display:flex;align-items:baseline;justify-content:center;height:25px;flex-shrink:0;font:800 23px/25px "PingFang SC",sans-serif;color:#b63d2b;white-space:nowrap;font-variant-numeric:tabular-nums}
.performance-bubble-count small{font-size:12px;line-height:1;margin-left:1px}
.performance-bubble-caption{flex-shrink:0;font-size:10px;line-height:11px;color:#5b3326}
.performance-bubble:focus-visible{outline:2px solid #9f3a28;outline-offset:3px;border-radius:50%}
#feature-sheet.performance-bubble-sheet{inset:auto 10px calc(18px + env(safe-area-inset-bottom,0px));height:auto;max-height:62dvh;margin:0 auto;background:#fff9ef;border:1px solid #cfab6c;border-radius:20px;box-shadow:0 12px 36px #4c210b55}
#feature-sheet.performance-bubble-sheet>header{min-height:48px;background:transparent;border-bottom:1px solid #e6d6bb}
#feature-sheet.performance-bubble-sheet>header h2{color:#693b25;font-size:17px}
#feature-sheet.performance-bubble-sheet #feature-content{overflow:auto;min-height:0}
#feature-sheet.performance-bubble-sheet.open{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
#feature-sheet.performance-bubble-sheet>img{display:none!important}
#feature-sheet.performance-bubble-sheet>header{position:relative;display:flex;align-items:center;justify-content:space-between;padding:8px 14px;pointer-events:auto!important}
#feature-sheet.performance-bubble-sheet #feature-back{display:none!important}
#feature-sheet.performance-bubble-sheet #close-feature{position:static;display:flex!important;min-width:40px;width:40px;height:40px;padding:0;border:0;background:#f0e5d3;color:#74422c;box-shadow:none;font-size:24px;align-items:center;justify-content:center}
#feature-sheet.performance-bubble-sheet #close-feature span{opacity:1!important;margin:0;font-size:24px}
#feature-sheet.performance-bubble-sheet #feature-content{width:auto;max-width:100%;margin:0;padding:0;min-width:0}
.performance-bubble-sheet .performance-bubble-detail{padding:14px 18px 20px;color:#4b2a1c}
.performance-bubble-detail h3{font:700 20px/1.4 "Songti SC",serif;margin:0 0 12px}
.performance-bubble-detail p{font:14px/1.7 sans-serif;margin:6px 0}
.performance-bubble-detail .performance-start{color:#a33324;font-weight:700}
.performance-bubble-detail button{display:block;width:100%;border:0;border-radius:24px;background:#ad3a29;color:#fff;padding:12px;margin-top:18px;font-size:16px;font-weight:700}
.performance-bubble-list{display:grid;gap:10px;padding:12px}
.performance-bubble-list button{border:1px solid #e3cfb0;border-radius:12px;background:#fffaf0;color:#4b291c;padding:12px 14px;text-align:left;cursor:pointer}
.performance-bubble-list b,.performance-bubble-list span{display:block;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
.performance-bubble-list span{font-size:13px;color:#8f5133}
.program-bubble-settings{max-width:920px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:26px;display:grid;grid-template-columns:minmax(260px,1fr) 220px;gap:28px;align-items:center}
.program-bubble-settings label{display:block;font-weight:600;margin-bottom:12px}
.program-bubble-settings input{width:100px;padding:10px;border:1px solid #b9c6d7;border-radius:6px;font-size:20px;text-align:center;margin-right:10px}
.program-bubble-settings p{color:#526174;line-height:1.8;font-size:14px;margin:14px 0}
.program-bubble-settings .bubble-save-status{min-height:24px;color:#216247}
.program-bubble-settings button.primary{padding:10px 22px}
.program-bubble-preview{background:#faf5e9;border-radius:12px;min-height:230px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:15px}
.program-bubble-preview .performance-bubble{position:relative;transform:scale(.64);transform-origin:center;pointer-events:none;flex-shrink:0}
.program-bubble-preview>span{font-size:12px;color:#796450}
.program-bubble-tabs{display:flex;gap:8px;margin-bottom:20px}
.program-bubble-tabs button{padding:9px 18px;border:1px solid #dbe3ee;background:#fff;border-radius:7px;cursor:pointer;color:#4c5c70}
.program-bubble-tabs button.active{color:#2463b8;background:#edf4ff;border-color:#94b6e7}
@media(max-width:640px){.program-bubble-settings{grid-template-columns:1fr;padding:20px}.program-bubble-preview{min-height:190px}}
