/* iOS layout reference: Apple's Control Center. Framework7 SVGs: vendor/LICENSE. */
#control-center-layer{position:absolute;inset:0;z-index:70;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(-20px) scale(1.025);transition:opacity .24s,transform .34s cubic-bezier(.2,.8,.2,1),visibility .34s;color:#fff;font-family:-apple-system,BlinkMacSystemFont,'PingFang TC',sans-serif}
.control-center-open #control-center-layer{visibility:visible;opacity:1;pointer-events:auto;transform:none}
.cc-surface{height:100%;position:relative;isolation:isolate;overflow:hidden;background:#7778;backdrop-filter:blur(30px) saturate(.65);-webkit-backdrop-filter:blur(30px) saturate(.65)}
.cc-backdrop{position:absolute;inset:0;width:100%;height:100%;background:transparent}
.cc-content{position:relative;margin:0 auto;width:80%;max-width:340px;pointer-events:none}.cc-content button,.cc-slider{pointer-events:auto}
.cc-top{height:72px;display:flex;justify-content:space-between;align-items:center}.cc-top>button{width:28px;height:28px;border-radius:50%;padding:5px;background:#ffffff30;color:#fff}.cc-island{position:absolute;left:50%;top:14px;transform:translateX(-50%);width:36%;height:32px;border-radius:30px;background:#000}
.cc-carrier{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;font-size:15px;line-height:1.7;padding-bottom:28px}.cc-carrier>span{display:flex;align-items:center;gap:4px}.cc-carrier svg{width:23px;height:20px}.cc-carrier b{font-size:14px;font-weight:500}.cc-carrier small{width:100%;display:flex;align-items:center;gap:6px;font-size:14px}.cc-carrier .cc-battery-icon{width:29px;height:16px;margin-left:1px;flex:none}
.cc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.cc-glass,.cc-slider{background:linear-gradient(140deg,#ffffff42,#ffffff22);border:1px solid #ffffff70;box-shadow:inset 0 1px 1px #ffffff55,0 2px 3px #00000018;border-radius:32px;color:#fff}
.cc-grid button{padding:0;display:flex;justify-content:center;align-items:center;min-width:0;min-height:0;transition:background .16s,color .16s,box-shadow .16s,transform .14s}
.cc-grid button:active,.cc-top button:active{background:#ffffffd9;color:#333;transform:scale(.92);box-shadow:0 0 16px #ffffff33}.cc-grid button:disabled{opacity:.3;pointer-events:none}
.cc-grid svg{width:29px;height:29px;flex-shrink:0;pointer-events:none}
.cc-toggle{background:#ffffff2b;color:#fff}.cc-toggle.is-on{box-shadow:inset 0 1px 1px #ffffff66,0 1px 4px #0001}
.cc-toggle.is-on.cc-blue{background:#109bfa;color:white}.cc-toggle.is-on.cc-orange{background:#ff9f0a;color:white}.cc-toggle.is-on.cc-green{background:#37cb68;color:white}.cc-toggle.is-on.cc-white{background:#fafafa;color:#555}.cc-toggle.is-on.cc-red{background:#fafafa;color:#f45b6b}.cc-toggle.is-on.cc-yellow{background:#fafafa;color:#e5b52f}
.cc-connections,.cc-media{grid-column:span 2;aspect-ratio:1;border-radius:34px;padding:13px;min-width:0;min-height:0;overflow:hidden}
.cc-connections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
.cc-orb{width:100%;height:100%;border-radius:50%;display:grid;place-items:center}.cc-orb svg{width:32px;height:32px}
.cc-mini-connections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:5px;min-width:0;min-height:0}.cc-mini-connections>button{width:100%;height:100%;border-radius:50%}.cc-mini-connections svg{width:16px;height:16px}
.cc-media{display:flex;flex-direction:column;position:relative}.cc-media-top{display:flex;justify-content:space-between;align-items:flex-start;min-height:0;flex:1;gap:8px}.cc-media-top .cc-output{width:27px;height:27px;flex:0 0 27px;margin-left:auto;border-radius:50%;background:#ffffff20;color:#fff}.cc-media-top .cc-output svg{width:18px;height:18px}.cc-media-top .cc-output.is-on{background:#159bfa}
.cc-album{height:clamp(30px,10vw,44px);width:clamp(30px,10vw,44px);flex-shrink:0;border-radius:10px;display:grid;place-items:center;background:#253142 url('/wallpapers/midnight-glass.png') center/cover;box-shadow:0 1px 8px #0003}.cc-album svg{width:25px;height:25px}
.cc-track-title{font-size:16px;line-height:1.25;margin-top:4px;font-weight:600}.cc-track-subtitle{font-size:12px;line-height:1.2;color:#ffffff88;margin-top:2px}
.cc-not-playing{font-size:17px;font-weight:500;letter-spacing:-.2px;color:#ffffffa8;margin:0 0 auto;align-self:center;white-space:nowrap}
.cc-transport{display:flex;justify-content:space-between;align-items:center;margin:8px 0 0;flex-shrink:0}.cc-transport button{width:28px;height:28px;color:#fff}.cc-transport svg{width:24px;height:24px}
.cc-output-menu{position:absolute;inset:0;background:#4d5358fa;border-radius:inherit;padding:18px 13px;display:flex;flex-direction:column;gap:20px;z-index:3}.cc-output-menu strong{font-size:14px}.cc-output-menu>button{justify-content:space-between;font-size:13px;background:#ffffff26;padding:10px;border-radius:12px}.cc-output-menu>button span{color:#50afff}
.cc-round{aspect-ratio:1;border-radius:50%}.cc-lock{color:#fff}.cc-lock>svg{width:36px;height:36px}
.cc-brightness,.cc-volume{grid-row:span 2;min-height:0}.cc-slider{height:100%;width:100%;display:block;position:relative;overflow:hidden;border-radius:34px;background:#ffffff35}.cc-slider input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:ns-resize;writing-mode:vertical-lr;direction:rtl;margin:0;padding:0;touch-action:none;z-index:2}.cc-slider-fill{position:absolute;bottom:0;left:0;right:0;height:var(--fill);background:#fbfbfb;pointer-events:none}.cc-slider>svg{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);color:#f8d964;width:31px;height:31px;pointer-events:none}.cc-volume .cc-slider>svg{color:#10c4e8}
.cc-focus{grid-column:span 2;border-radius:34px;gap:9px;min-height:66px;justify-content:flex-start!important;padding:0 13px!important;text-align:left}.cc-focus>svg{padding:8px;width:38px;height:38px;flex-shrink:0;background:#ffffff25;border-radius:50%}.cc-focus>span{min-width:0;display:flex;flex-direction:column;gap:1px}.cc-focus strong{font-size:13px;font-weight:550;white-space:nowrap}.cc-focus small{font-size:10px;color:inherit;opacity:.6;line-height:1.3}.cc-focus.is-on{background:#fafafa;color:#3a3b3c}.cc-focus.is-on>svg{background:#ece8f7;color:#7957e9}
.cc-announcement{font-size:12px;text-align:center;margin-top:14px;min-height:20px;color:#ffffffc0}.cc-dismiss{position:absolute;bottom:calc(9px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:90px;height:28px;color:#fff}.cc-dismiss svg{width:24px;height:24px}.cc-dismiss:active{transform:translateX(-50%) scale(.96)}
.cc-flashlight #wallpaper:after{content:'';position:absolute;inset:0;background:white;z-index:1}.cc-flashlight .cc-surface{background:#ffffff70}#phone-brightness{position:absolute;inset:0;z-index:85;background:#000;pointer-events:none}
.control-center-open #toast,.control-center-open #tai-call-banner-layer,.control-center-open #status-layer,.control-center-open #homebar{visibility:hidden}.status-control-trigger{display:flex;align-items:center;padding:8px 0;gap:4px;color:inherit;background:none;border:0;pointer-events:auto}.status-control-trigger svg{pointer-events:none}
@media(max-width:600px){.cc-top{height:calc(72px + env(safe-area-inset-top,0px))}.cc-island{top:calc(14px + env(safe-area-inset-top,0px))}}
@media(max-height:720px){.cc-carrier{padding-bottom:16px}.cc-top{height:60px}.cc-grid{gap:10px}.cc-connections,.cc-media{padding:11px;border-radius:29px}.cc-connections{gap:10px}.cc-orb svg{width:27px;height:27px}.cc-mini-connections{gap:4px}.cc-mini-connections svg{width:13px;height:13px}.cc-focus{min-height:54px;gap:5px;padding:0 9px!important}.cc-focus>svg{width:29px;height:29px;padding:6px}.cc-focus strong{font-size:12px}.cc-track-title{font-size:14px}.cc-album{width:30px;height:30px}.cc-track-subtitle{font-size:10px}.cc-transport{margin-top:4px}.cc-transport button{width:25px;height:24px}.cc-transport svg{width:21px;height:21px}.cc-not-playing{font-size:15px}}
@media(prefers-reduced-motion:reduce){#control-center-layer,.cc-grid button{transition:none}}
.cc-grid .cc-focus{min-height:66px}
@media(max-height:720px){.cc-grid .cc-focus{min-height:54px}}
