.popular-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}.popular-grid .quick-card{grid-column:auto!important;border:1px solid #ffffffb0;box-shadow:8px 8px 18px #d9d9e3,-8px -8px 18px #fff,inset 1px 1px 1px #fff;transition:transform .25s,box-shadow .25s}.popular-grid .quick-card:hover{transform:translateY(-5px);box-shadow:12px 15px 24px #d3d3df,-8px -8px 18px #fff}.popular-card{height:280px!important;padding:22px!important;display:flex;flex-direction:column;justify-content:space-between}.popular-card.lavender{background:#e7e3fb}.popular-card.mint{background:#e1eee8}.popular-card.peach{background:#f4e6e2}.popular-card.sand{background:#efeddf}.popular-card h3{font-size:19px!important}.popular-card p{font-size:11px!important}.popular-card .compress-art{transform:scale(.8);margin:0 -20px}.popular-card .paper-art{height:120px}.popular-grid .compact{min-height:82px;padding:16px;gap:10px;background:#f5f5f8}.popular-grid .compact h3{font-size:14px}.new-art{height:125px;display:flex;align-items:center;justify-content:center;position:relative}.art-screen{width:120px;height:85px;border-radius:15px;background:linear-gradient(145deg,#fff,#c8dcd2);box-shadow:7px 9px 14px #758c7730;display:grid;place-content:center;text-align:center;font-size:30px;transform:rotate(-8deg);color:#658875}.art-screen small{font-size:9px;letter-spacing:.15em}.art-badge{background:#fff;padding:12px;border-radius:12px;font-weight:800;color:#658875;transform:rotate(12deg);margin-left:-20px;margin-top:50px;box-shadow:4px 5px 12px #758c7730}.wave-art{gap:5px}.wave-art i{width:8px;border-radius:8px;background:linear-gradient(#bba0eb,#8a77c1);box-shadow:3px 4px 8px #a88a9c30}
.app-rail{overflow:hidden;touch-action:pan-y;user-select:none}.app-track{transform:translateX(0);padding:0 8px}.app-rail.is-dragging{cursor:grabbing}.favorite-item{position:relative;flex:none;width:104px}.favorite-remove{position:absolute;top:-10px;right:0;z-index:3;width:28px;height:28px;border-radius:50%;border:1px solid #fff;background:#625978;color:#fff;opacity:0;pointer-events:none;transition:opacity .15s;cursor:pointer}.favorite-item:hover .favorite-remove,.favorite-item:focus-within .favorite-remove,.favorite-item.editing .favorite-remove{opacity:1;pointer-events:auto}.favorite-empty{padding:24px 8px;color:#81788f;font-size:14px;max-width:100%;white-space:normal}.favorite-status{font-size:12px;color:#6e6383}.favorites-done{background:none;border:0;color:#6551c5;text-decoration:underline;cursor:pointer}.tool-menu-toggle{font:inherit;color:inherit;border:0;background:none;padding:10px 15px;border-radius:24px;cursor:pointer}.tool-menu-toggle[aria-expanded=true]{background:#e8e5f2;color:#6551c5}.tools-drawer{padding:28px max(6%,calc((100% - 1380px)/2));border-bottom:1px solid #dedce8;background:#f0eff6;position:relative;z-index:20}.tools-drawer[hidden]{display:none}.tools-drawer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.tools-drawer h3{font-size:13px;color:#675587;margin:0 0 12px}.tools-drawer a{display:block;font-size:12px;padding:7px 0;color:#625a70}.tools-drawer a:hover{text-decoration:underline;color:#6650bd}.tools-drawer-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.tools-drawer-head button{border:0;background:none;cursor:pointer}.card-flight{position:fixed;z-index:10000;pointer-events:none;border-radius:24px;display:grid;place-content:center;padding:25px;color:#51466c;font-weight:800;box-shadow:0 24px 80px #48405e30;transform-origin:center;backface-visibility:visible;overflow:hidden}.card-flight:after{content:'도구를 여는 중';font-size:12px;font-weight:400;margin-top:12px;text-align:center}
@media(hover:none){.favorite-item:hover .favorite-remove{opacity:0;pointer-events:none}.favorite-item.editing .favorite-remove,.favorite-item:focus-within .favorite-remove{opacity:1;pointer-events:auto}}@media(max-width:1050px){.popular-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.tools-drawer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.popular-grid{gap:14px!important}.popular-card{height:255px!important;padding:16px!important}.popular-card h3{font-size:16px!important}.popular-card .compress-art{transform:scale(.65);margin:0 -40px}.popular-grid .compact{padding:12px;flex-wrap:wrap}.popular-grid .compact h3{font-size:12px}.tools-drawer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.favorite-item{width:92px}.tool-menu-toggle{font-size:11px;padding:9px}.shelf-bottom{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.popular-grid .quick-card{transition:none}.favorite-remove{transition:none}}
.popular-card .card-meta,.popular-card .card-bottom{padding:0}.popular-card>div:nth-child(2){min-height:125px;display:grid;align-content:center}.popular-card .compress-art{height:125px}.app-track:has(.favorite-empty){width:100%}.favorite-empty{line-height:1.7}.app-item:focus-visible,.favorite-remove:focus-visible,.tool-menu-toggle:focus-visible{outline:2px solid #7761c9;outline-offset:4px}

/* 전체도구 펼쳐보기: 전체도구 페이지와 같은 목록을 그대로 펼쳐요 */
.tools-drawer .drawer-library{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.tools-drawer .drawer-library .library-search{width:100%;max-width:520px;box-sizing:border-box}
.tools-drawer .drawer-library{min-width:0}.tools-drawer .library-layout>section{min-width:0}
.tools-drawer .drawer-library .library-tool-link{display:block;padding:25px;font-size:inherit;color:inherit}
.tools-drawer .drawer-library .library-tool-link:hover{text-decoration:none;color:inherit}
@media(max-width:600px){.tools-drawer{padding:22px 16px}.tools-drawer .drawer-library .library-tool-link{padding:20px}}
.tools-drawer .library-layout{margin:0}
.tools-drawer-head strong{font-size:15px;color:#4d4366}

/* 전체도구 버튼: 글자는 항상 '전체도구', 펼쳤을 때만 홈화면과 같은 선택 표시 */
.refreshed-header .tool-menu-toggle{font-size:13px;font-weight:550;letter-spacing:-0.04em;padding:11px 18px;border-radius:40px;line-height:normal;background:none;color:#777982;transition:background .15s,color .15s}
.refreshed-header .tool-menu-toggle:hover{color:#61518d}
@media(max-width:500px){.refreshed-header .tool-menu-toggle{font-size:11px;padding:9px 10px}}
.refreshed-header .tool-menu-toggle[aria-expanded=true]{background:#e9e6f2;color:#61518d}

/* 하두리필터 카드: 사진을 폴라로이드처럼 여백을 두고 살짝 기울여요 */
.popular-card.berry{background:#ede5f1}
.haduri-art{height:125px;display:flex;align-items:center;justify-content:center}
.haduri-art img{height:124px;width:auto;padding:6px 6px 16px;background:#fff;border-radius:6px;box-shadow:7px 9px 16px #7d5f9030;transform:rotate(-6deg);transition:transform .3s}
.popular-grid .quick-card:hover .haduri-art img{transform:rotate(-2deg) scale(1.04)}
.hot-tag{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:999px;background:#ff5d7a;color:#fff;font-size:9px;font-weight:800;letter-spacing:.08em;line-height:1.5;vertical-align:1px;box-shadow:0 2px 6px #ff5d7a55}
@media(max-width:600px){.haduri-art img{height:110px}}
@media(prefers-reduced-motion:reduce){.haduri-art img{transition:none}}
/* 마우스를 올리면 짤 전체(글씨까지)가 카드를 꽉 채워 보여요 */
.popular-card.berry{position:relative;overflow:hidden}
.haduri-full{position:absolute;inset:0;border-radius:inherit;overflow:hidden;opacity:0;pointer-events:none;transition:opacity .3s;background:#2b2530}
.haduri-full::before{content:"";position:absolute;inset:-24px;background:url(/tools/haduri-filter/haduri-card.jpg) center/cover;filter:blur(18px) brightness(.75);transform:scale(1.1)}
.haduri-full img{position:relative;display:block;height:100%;width:auto;margin:0 auto;transform:scale(.96);transition:transform .35s}
.popular-card.berry:hover .haduri-full,.popular-card.berry:focus-visible .haduri-full{opacity:1}
.popular-card.berry:hover .haduri-full img,.popular-card.berry:focus-visible .haduri-full img{transform:scale(1)}
@media(hover:none){.haduri-full{display:none}}
