.mg-card{cursor:grab}.mg-card .fp-thumb{position:relative}.mg-order{top:8px;left:8px;min-width:24px;height:24px;padding:0 7px;align-items:center;justify-content:center;border-radius:12px;background:#172033;color:#fff;font-size:12px;font-weight:700}.mg-move,.mg-order{position:absolute;z-index:1;display:flex}.mg-move{left:50%;bottom:10px;gap:6px;transform:translateX(-50%);opacity:0;transition:opacity .15s ease}.mg-card:focus-within .mg-move,.mg-card:hover .mg-move{opacity:1}@media (hover:none){.mg-move{opacity:1}}.mg-move button{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid #d8dee8;border-radius:50%;background:#fff;color:#172033;box-shadow:0 1px 3px rgba(23,32,51,.12);cursor:pointer}.mg-move button:hover:not(:disabled){border-color:#c3cad6}.mg-move button:disabled{opacity:.35;cursor:default}.mg-card.is-dragged{opacity:.4}.mg-drop-after:after,.mg-drop-before:before{content:"";position:absolute;top:0;z-index:2;width:3px;height:calc(100% - 46px);border-radius:2px;background:#f04468}.mg-drop-before:before{left:-14px}.mg-drop-after:after{right:-14px}.mg-summary{margin:0 0 18px;padding:12px 14px;border:1px solid #e1e6ee;border-radius:10px;background:#f8fafc;font-weight:600}.mg-label,.mg-summary{color:#172033;font-size:14px}.mg-label{margin:0;font-weight:700}.mg-hint{margin-top:4px}.mg-sort{position:relative;margin-top:0;display:block}.mg-sort+.mg-option{margin-top:20px}.mg-sort>span{display:block;margin-bottom:6px;color:#536074;font-size:13px}.mg-sort select{width:100%;height:42px;padding:0 38px 0 12px;border:1px solid #d8dee8;border-radius:10px;background:#fff;color:#172033;font:inherit;font-size:14px;appearance:none;cursor:pointer}.mg-sort select:hover:not(:disabled){border-color:#c3cad6}.mg-sort select:focus-visible{outline:2px solid #f04468;outline-offset:1px}.mg-sort select:disabled{color:#98a2b3;cursor:default}.mg-sort>svg{position:absolute;right:12px;bottom:13px;color:#697586;pointer-events:none}.mg-options-title{margin-top:24px}.mg-option{margin-top:10px;display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid #e1e6ee;border-radius:10px;background:#fff;cursor:pointer}.mg-option:hover{border-color:#c3cad6}.mg-option input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:#f04468;cursor:pointer}.mg-option>span{display:flex;flex-direction:column;gap:2px;min-width:0}.mg-option strong{color:#172033;font-size:14px;font-weight:600}.mg-option small{color:#697586;font-size:12.5px;line-height:1.4}.mg-organize{margin-top:22px;display:flex;align-items:center;justify-content:space-between;gap:8px}.mg-organize .fp-hint{margin:0;min-width:0;white-space:nowrap}.mg-organize-btn{flex:none;white-space:nowrap;display:inline-flex;align-items:center;gap:6px;padding:3px 8px 3px 3px;border:1px solid #d8dee8;border-radius:999px;background:#fff;color:#172033;font-size:12.5px;font-weight:600;text-decoration:none}.mg-organize-btn:hover{border-color:#c3cad6;background:#f8fafc}.mg-organize-btn>svg{color:#697586}.mg-organize-btn>.tool-icon{width:20px;height:20px;border-radius:6px}.mg-organize-btn>.tool-icon svg{width:12px;height:12px}.mg-organize-btn>svg:last-child{width:13px;height:13px}.mg-stack{position:relative;flex:none;width:54px;height:64px}.mg-stack>b,.mg-stack>span{position:absolute;width:42px;height:52px;border-radius:6px;border:1.5px solid #f04468;background:#fff}.mg-stack>span:first-child{left:12px;top:0;opacity:.35}.mg-stack>span:nth-child(2){left:6px;top:6px;opacity:.6}.mg-stack>b{left:0;top:12px;display:flex;align-items:center;justify-content:center;color:#f04468;font-size:18px}@media (max-width:600px){.mg-card .fp-thumb{grid-area:thumb}.fp-grid:not(.is-single) .mg-card{grid-template-columns:22px 42px minmax(0,1fr) auto 30px;grid-template-areas:"ord thumb name mv x" "ord thumb size mv x"}.fp-grid:not(.is-single) .mg-card .mg-order{grid-area:ord;position:static;min-width:22px;height:22px;padding:0;font-size:11.5px}.mg-move{display:none}.mg-pmove{grid-area:mv;display:flex;gap:4px}.mg-pmove button{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:1px solid #d8dee8;border-radius:50%;background:#fff;color:#172033}.mg-pmove button:disabled{opacity:.35}.mg-drop-after:after,.mg-drop-before:before{left:12px;right:12px;width:auto;height:3px}.mg-drop-before:before{top:-2px}.mg-drop-after:after{top:auto;bottom:-2px}.mg-settings .mg-summary{display:none}}.mg-thumb-wait{display:flex;flex-direction:column;align-items:center;gap:8px;color:#697586;font-size:12.5px}@media (max-width:600px){.mg-thumb-wait{font-size:0;gap:0}.mg-thumb-wait .fp-spin{width:16px;height:16px;border-width:2px}}@media (min-width:601px){.mg-page .fp-grid:not(.is-single){grid-template-columns:repeat(auto-fill,148px);gap:22px 20px}.mg-page .mg-card .fp-card-name{margin-top:9px;font-size:13px}.mg-page .mg-card .fp-card-size{font-size:12px}.mg-page .mg-order{top:6px;left:6px;min-width:22px;height:22px;font-size:11.5px}.mg-page .mg-move{bottom:8px}.mg-page .mg-move button{width:28px;height:28px}.mg-page .mg-drop-before:before{left:-12px}.mg-page .mg-drop-after:after{right:-12px}.mg-page .mg-drop-after:after,.mg-page .mg-drop-before:before{height:calc(100% - 40px)}.mg-page .fp-panel-head{margin-bottom:4px}.mg-summary{margin:0 0 14px;padding:0;border:0;background:none;color:#536074;font-size:13.5px;font-weight:500}.mg-hint{margin-top:2px}.mg-sort{margin-top:0;display:flex;align-items:center;gap:10px}.mg-sort>span{flex:none;margin:0}.mg-sort select{flex:1;min-width:0;height:38px}.mg-sort>svg{bottom:11px}.mg-options-title{margin-top:18px}.mg-option{margin-top:8px;padding:9px 12px}.mg-sort+.mg-option{margin-top:18px}.mg-organize{margin-top:14px}}:where(html[data-theme=dark]) .mg-order{background:#303848;color:#fff}:where(html[data-theme=dark]) .mg-move button{border:1px solid #2f3642;background:#1b2025;color:#e7ebf3;box-shadow:0 1px 3px rgba(0,0,0,.352)}:where(html[data-theme=dark]) .mg-move button:hover:not(:disabled){border-color:#444d5c}:where(html[data-theme=dark]) .mg-drop-after:after,:where(html[data-theme=dark]) .mg-drop-before:before{background:#f04468}:where(html[data-theme=dark]) .mg-summary{border:1px solid #282e37;background:#12161b;color:#e7ebf3}:where(html[data-theme=dark]) .mg-label{color:#e7ebf3}:where(html[data-theme=dark]) .mg-sort>span{color:#c0c5cd}:where(html[data-theme=dark]) .mg-sort select{border:1px solid #2f3642;background:#1b2025;color:#e7ebf3}:where(html[data-theme=dark]) .mg-sort select:hover:not(:disabled){border-color:#444d5c}:where(html[data-theme=dark]) .mg-sort select:focus-visible{outline:2px solid #f04468;outline-offset:1px}:where(html[data-theme=dark]) .mg-sort select:disabled{color:#9da2a9}:where(html[data-theme=dark]) .mg-sort>svg{color:#b4bac1}:where(html[data-theme=dark]) .mg-option{border:1px solid #282e37;background:#1b2025}:where(html[data-theme=dark]) .mg-option:hover{border-color:#444d5c}:where(html[data-theme=dark]) .mg-option strong{color:#e7ebf3}:where(html[data-theme=dark]) .mg-option small{color:#b4bac1}:where(html[data-theme=dark]) .mg-stack>b,:where(html[data-theme=dark]) .mg-stack>span{border:1.5px solid #f04468;background:#1b2025}:where(html[data-theme=dark]) .mg-stack>b{color:#f04468}@media (max-width:600px){:where(html[data-theme=dark]) .mg-pmove button{border:1px solid #2f3642;background:#1b2025;color:#e7ebf3}}:where(html[data-theme=dark]) .mg-thumb-wait{color:#b4bac1}@media (max-width:600px){:where(html[data-theme=dark]) .mg-thumb-wait .fp-spin{border-width:2px}}@media (min-width:601px){:where(html[data-theme=dark]) .mg-page .mg-summary{border:0;background:none;color:#c0c5cd}}:where(html[data-theme=dark]) .mg-organize-btn{text-decoration:none;border:1px solid #2f3642;background:#1b2025;color:#e7ebf3}:where(html[data-theme=dark]) .mg-organize-btn:hover{border-color:#444d5c;background:#232931}:where(html[data-theme=dark]) .mg-organize-btn>svg{color:#b4bac1}