/* Lightweight Apple Photos-inspired Cover Editor. */
.cover-edit-button{box-sizing:border-box!important;flex:0 0 110px!important;justify-self:end!important;align-self:center!important;width:110px!important;min-width:110px!important;max-width:110px!important;height:56px!important;min-height:56px!important;max-height:56px!important;padding:0!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:28px!important;background:rgba(255,255,255,.08)!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;white-space:nowrap!important;transform:none!important;transition:filter .2s ease,background-color .2s ease!important}.cover-edit-button:hover,.cover-edit-button:focus-visible{filter:brightness(1.12)!important;transform:none!important;background:rgba(255,255,255,.1)!important}.cover-edit-button:active{transform:none!important;filter:brightness(1.04)!important}
.cover-editor{z-index:1000!important;top:50%!important;right:auto!important;bottom:auto!important;left:50%!important;width:min(680px,calc(100vw - 64px))!important;height:min(760px,calc(100vh - 80px))!important;max-height:min(760px,calc(100vh - 80px));grid-template-rows:auto auto auto minmax(0,1fr) auto!important;gap:16px!important;padding:22px!important;overflow:hidden!important;border-radius:30px!important;background:linear-gradient(145deg,rgba(60,51,82,.96),rgba(43,37,61,.94))!important;box-shadow:0 38px 120px rgba(11,8,23,.48),inset 0 1px rgba(255,255,255,.3)!important;backdrop-filter:blur(42px) saturate(140%)!important;transform:translate(-50%,calc(-50% + 18px)) scale(.98)!important}.cover-editor.open{transform:translate(-50%,-50%) scale(1)!important}.cover-editor>header{grid-template-columns:1fr auto!important;align-items:start}.cover-editor>header h2{font-size:26px!important}.cover-editor-menu{position:relative;display:flex;gap:8px}.cover-editor-menu>button{display:grid;place-items:center;width:42px!important;height:42px!important;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(255,255,255,.07);color:var(--primary)}.cover-more-popover{position:absolute;z-index:12;right:50px;top:46px;width:190px;padding:6px;border:1px solid rgba(255,255,255,.2);border-radius:14px;background:rgba(35,30,49,.92);box-shadow:0 20px 48px rgba(10,8,18,.35);backdrop-filter:blur(24px)}.cover-more-popover[hidden]{display:none}.cover-more-popover button{width:100%;height:36px;border:0;border-radius:9px;background:transparent;color:#ffb9c4;text-align:left;padding:0 10px}
.cover-editor-preview{position:relative;display:grid!important;grid-template-columns:190px minmax(0,1fr)!important;align-items:center;width:100%;padding:12px!important;border:1px solid rgba(255,255,255,.17)!important;border-radius:22px!important;background:rgba(255,255,255,.055)!important;color:var(--primary);text-align:left;overflow:hidden;cursor:pointer}.cover-editor-preview img{width:190px!important;height:132px!important;border-radius:16px!important;transition:transform .42s var(--spring),filter .25s ease}.cover-editor-preview:hover img{transform:scale(1.025);filter:brightness(.78)}.cover-hover-edit{position:absolute;z-index:3;left:87px;top:62px;display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.38);border-radius:50%;background:rgba(35,29,51,.6);box-shadow:0 8px 24px rgba(10,8,20,.3);backdrop-filter:blur(14px);color:#fff;font-size:16px;opacity:0;transform:scale(.82);transition:.24s var(--spring)}.cover-editor-preview:hover .cover-hover-edit{opacity:1;transform:scale(1)}.cover-editor-preview strong,.cover-editor-preview small{display:block}.cover-editor-preview small{margin-top:7px;color:var(--secondary)}
.cover-editor-label{margin:2px 0 0}.cover-editor-thumbs{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:2px 4px 12px 2px;scrollbar-width:none!important}.cover-editor-thumbs::-webkit-scrollbar{display:none!important;width:0!important}.cover-editor-thumbs button{height:112px!important;border-width:1.5px!important;border-radius:15px!important;transition:transform .34s var(--spring),border-color .2s ease,box-shadow .2s ease}.cover-editor-thumbs button:hover{transform:scale(1.035);z-index:2}.cover-editor-thumbs img{transition:filter .2s ease}.cover-editor-thumbs button.active{border-color:rgba(255,255,255,.96)!important;box-shadow:0 0 0 3px rgba(190,169,225,.28),0 12px 26px rgba(13,10,25,.2)!important}.cover-check{position:absolute;z-index:4;right:8px;top:8px;display:grid;place-items:center;width:22px;height:22px;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:rgba(78,62,110,.78);box-shadow:0 4px 12px rgba(10,8,20,.26);backdrop-filter:blur(10px);color:#fff;font-size:12px;opacity:0;transform:scale(.65);transition:.22s var(--spring)}.cover-editor-thumbs button.active .cover-check{opacity:1;transform:scale(1)}
.cover-editor-footer{display:flex;justify-content:flex-end;gap:9px;padding-top:12px;border-top:1px solid rgba(255,255,255,.1)}.cover-editor-footer button{height:40px;padding:0 18px;border:1px solid rgba(255,255,255,.16);border-radius:20px;background:rgba(255,255,255,.07);color:var(--primary)}#cover-editor-save{border-color:transparent;background:#c9b4e4;color:#3e344d;font-weight:650}
.cover-action-layer{position:fixed;z-index:30;inset:0;display:grid;place-items:end center;padding:24px;opacity:0;visibility:hidden;transition:.2s ease}.cover-action-layer.open{opacity:1;visibility:visible}.cover-action-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(12,9,22,.28);backdrop-filter:blur(8px)}.cover-action-sheet{position:relative;width:min(420px,calc(100vw - 48px));display:grid;gap:7px;padding:12px;border:1px solid rgba(255,255,255,.25);border-radius:24px;background:rgba(48,41,67,.94);box-shadow:0 28px 80px rgba(10,7,20,.48),inset 0 1px rgba(255,255,255,.25);backdrop-filter:blur(32px);transform:translateY(18px);transition:transform .3s var(--spring)}.cover-action-layer.open .cover-action-sheet{transform:none}.cover-action-sheet>strong{padding:8px 10px 10px;font-size:14px}.cover-action-sheet button{min-height:54px;padding:9px 12px;border:0;border-radius:14px;background:rgba(255,255,255,.075);color:var(--primary);text-align:left}.cover-action-sheet button:hover{background:rgba(255,255,255,.14)}.cover-action-sheet button span,.cover-action-sheet button small{display:block}.cover-action-sheet button span{font-size:14px;font-weight:650}.cover-action-sheet button small{margin-top:3px;color:var(--secondary);font-size:11px}.cover-action-sheet .cover-action-cancel{min-height:42px;margin-top:3px;text-align:center;color:var(--secondary)}
@media(max-width:680px){.cover-editor{width:calc(100vw - 28px)!important;padding:17px!important}.cover-editor-thumbs{grid-template-columns:repeat(3,minmax(0,1fr))!important}.cover-editor-preview{grid-template-columns:130px 1fr!important}.cover-editor-preview img{width:130px!important;height:100px!important}.cover-hover-edit{left:57px;top:43px}}
