.ribbons-section{padding:2px 0 0}.ribbons-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:19px}.ribbons-heading h3{font-size:18px;font-weight:650;color:#756a81}.ribbons-heading h3>span{display:inline-block;font-size:11px;font-weight:400;color:#b0a0bb;margin-left:8px}.ribbons-heading>div>p{font-size:11px;color:#b49dc1;margin-top:5px}.all-ribbons-button{border:1px solid #ff2d5540;background:linear-gradient(145deg,#ff657f,#ef4268);box-shadow:0 5px 14px #ff2d5526;color:#fff;font-size:13px;padding:10px 17px;border-radius:22px;min-height:40px;gap:7px;flex-shrink:0}.all-ribbons-button:hover{background:linear-gradient(145deg,#ff7c92,#f45678);box-shadow:0 7px 20px #ff2d5540;transform:translateY(-2px)}.all-ribbons-button.active{background:linear-gradient(135deg,#d699ad,#c384a4);border-color:#be81a5}.all-ribbons-button svg{width:16px}.ribbons-mode{display:flex;align-items:flex-start;gap:11px;padding:14px 16px;background:#faf6fdad;border:1px solid #e8def0;border-radius:12px;color:#b49ac6;margin-bottom:19px}.ribbons-mode svg{margin-top:2px;flex-shrink:0}.ribbons-mode strong{display:block;font-size:12px;font-weight:550;color:#a18ab5}.ribbons-mode p{font-size:11px;color:#b5a4c0;line-height:1.85;margin-top:5px}.ribbons-mode code{font-size:10px;background:#f4e6f4;border:1px solid #eedbed;color:#b07fa2;padding:2px 5px;border-radius:4px;overflow-wrap:anywhere}.ribbons-mode.auto-mode{border-color:#edc1ce;background:linear-gradient(135deg,#fff2f6cc,#fff7facc);color:#c78ca4}.ribbons-mode.auto-mode strong{color:#bc7c95}.ribbons-mode.auto-mode p{color:#c299aa}.ribbons-tools{display:flex;align-items:center;gap:12px;margin-bottom:12px}.ribbons-tools .search-input{flex:1;min-width:0;border:2px solid #efdae6;padding:10px 13px;border-radius:12px;color:#c4a7bb;background:#fff9fd99}.ribbons-tools .search-input:focus-within{border-color:#d7aac3;box-shadow:0 3px 12px #c880a617}.ribbons-tools .search-input input{font-size:13px;color:#9b7e95}.ribbons-tools .search-input input::placeholder{font-size:12px;color:#c2afc5}.ribbons-tools select{padding:10px 13px;color:#b196ae;font-size:12px;border:1px solid #e9d9e5;background:#fff9fdcc;border-radius:10px;min-height:39px}.ribbons-tools .text-button{color:#c0a3b8;font-size:12px;flex-shrink:0}.ribbons-result-count{font-size:10px;color:#bfaac5;padding:0 2px 13px;line-height:1.7}.ribbons-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:18px;padding:5px 1px}.ribbon-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;min-height:127px;padding:12px 9px;border:2px solid #ddd7e24d;border-radius:12px;background:#ffffff80;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s;color:#b2a8b8;line-height:1.35}.ribbon-item:hover{border-color:#ff2d554d;background:#ffffffd9;transform:translateY(-2px);box-shadow:0 4px 12px #0000000b}.ribbon-item:active{transform:translateY(0) scale(.98)}.ribbon-image-wrapper{display:flex;align-items:center;justify-content:center;width:68px;height:68px;padding:8px;border-radius:8px;background:#ffffffb3;flex-shrink:0}.ribbon-image{width:100%;height:100%;object-fit:contain;filter:grayscale(75%) brightness(.98);opacity:.65;transition:filter .2s,opacity .2s,transform .2s}.ribbon-item:hover .ribbon-image{transform:scale(1.08);filter:grayscale(25%);opacity:.9}.ribbon-name{font-size:12px;font-weight:500;color:#a29aa9;text-align:center;line-height:1.45;word-break:break-word}.ribbon-item.selected{border-color:#ec72928c;background:#ff2d5510;box-shadow:0 4px 16px #ff2d551c}.ribbon-item.selected:hover{border-color:#f27196;background:#ff2d5517}.ribbon-item.selected .ribbon-image{filter:none;opacity:1}.ribbon-item.selected .ribbon-name{color:#b47792;font-weight:600}.ribbon-selected-mark{position:absolute;right:7px;top:7px;display:grid;place-items:center;background:#e888a3;color:white;width:17px;height:17px;border-radius:50%}.ribbon-memory-count{font-size:9px;color:#bd8da5;line-height:1;border:1px solid #eacbd8;background:#fff5f8;border-radius:4px;padding:3px 6px;margin-top:-4px}.ribbons-note{border-top:1px dashed #e8d9e7;padding-top:17px;margin-top:20px;font-size:11px;color:#b8a7c0}.ribbons-empty{padding:50px 20px;text-align:center;color:#bba5c5;font-size:13px}
@media(max-width:740px){.ribbons-grid{grid-template-columns:repeat(auto-fill,minmax(85px,1fr));gap:12px}.ribbon-item{min-height:105px;padding:9px 6px;gap:8px}.ribbon-image-wrapper{width:48px;height:48px;padding:5px}.ribbon-name{font-size:11px}.ribbons-heading h3{font-size:16px}.ribbons-heading h3>span{font-size:10px;margin-left:5px}.ribbons-heading>div>p{font-size:10px}.all-ribbons-button{font-size:12px;padding:9px 13px;min-height:37px}.ribbons-tools{gap:9px}.ribbons-tools .search-input{padding:9px 11px}.ribbons-tools .search-input input{font-size:12px}.ribbons-tools .search-input input::placeholder{font-size:11px}.ribbons-tools select{font-size:11px;padding:9px 10px;min-height:36px}.ribbons-tools .text-button{font-size:11px}.ribbons-mode{padding:12px;gap:8px;margin-bottom:16px}.ribbons-mode strong{font-size:11px}.ribbons-mode p{font-size:10px;line-height:1.85}.ribbons-result-count{font-size:9px}.ribbons-heading{gap:10px;margin-bottom:15px}.ribbon-selected-mark{width:15px;height:15px;right:5px;top:5px}.ribbon-selected-mark svg{width:10px}.ribbons-note{font-size:10px}}
@media(max-width:400px){.ribbons-heading{flex-wrap:wrap}.all-ribbons-button{margin-left:auto}.ribbons-tools{flex-wrap:wrap}.ribbons-tools .search-input{width:100%;flex-basis:100%}.ribbons-tools select{flex:1}.ribbons-heading h3>span{margin-left:4px}.ribbons-grid{gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}.ribbon-item{min-height:103px}.ribbon-name{font-size:10px}.ribbon-image-wrapper{width:46px;height:46px}}
