.interests{width:min(760px,calc(100% - 40px));max-width:760px;max-height:calc(100dvh - 48px);border:0;padding:0;border-radius:24px;color:#171a25;background:#fff;box-shadow:0 26px 100px #171a252b;overflow:hidden;margin:auto;font:16px/1.5 'DM Sans',Arial,sans-serif;animation:interestsin .25s cubic-bezier(.22,1,.36,1);box-sizing:border-box}
.interests *{box-sizing:border-box}.interests button{font:inherit;cursor:pointer}.interests button:disabled{cursor:default}.interests button:focus-visible{outline:3px solid #bac6ff;outline-offset:4px}.interests [hidden]{display:none!important}
.interests[open]{display:flex;flex-direction:column}.interests::backdrop{background:#171a2570;backdrop-filter:blur(3px)}
.interests .modalhead{padding:30px 32px 19px;position:relative;flex:none}.interests .markrow{display:flex;align-items:center;justify-content:space-between;margin-bottom:23px}.interests .modalbrand{font:700 22px/1 'Space Grotesk',Arial,sans-serif;letter-spacing:-1px}
.interests .close{display:grid;place-items:center;width:38px;height:38px;border:0;background:#f4f5f8;border-radius:50%;color:#636b7c;padding:10px;flex:none}.interests .close svg{width:18px;height:18px}
.interests h2{font:700 34px/1.15 'Space Grotesk',Arial,sans-serif;letter-spacing:-1.2px;margin:0 0 12px;padding-right:12px}.interests .modalhead p{margin:0;font-size:15px;line-height:1.65;color:#6b6f7c;max-width:565px}
.interests .scrollarea{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:0 32px 25px;scrollbar-width:thin;scrollbar-color:#d8dde8 transparent}
.interests .gridhelper{font-size:13px;color:#757d8d;margin:3px 0 15px;display:flex;align-items:center;justify-content:space-between;gap:15px}.interests .count{white-space:nowrap;font-size:13px;font-weight:600;color:#2749ed}
.interests .categorygrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.interests .category{display:flex;flex-direction:column;align-items:flex-start;gap:12px;position:relative;min-width:0;border:1.5px solid #e8ebf1;border-radius:14px;background:#fff;color:#171a25;padding:15px 16px 14px;text-align:left;transition:background .18s,border-color .18s,transform .18s;min-height:107px}
.interests .category:hover:not(:disabled){border-color:#b6c3f5;background:#f7f9ff;transform:translateY(-1px)}.interests .category[aria-pressed=true]{background:#f1f4ff;border-color:#2749ed}.interests .category:disabled{opacity:.75}
.interests .categoryicon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--tile);color:var(--tileink);flex:none}.interests .categoryicon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.interests .categorylabel{font-size:14px;line-height:1.4;font-weight:500;overflow-wrap:anywhere;padding-right:0}
.interests .check{position:absolute;right:12px;top:12px;width:20px;height:20px;border:1.5px solid #e0e4ed;border-radius:50%;display:grid;place-items:center;background:#fff;color:#fff;flex:none}.interests .check svg{width:12px;height:12px;opacity:0;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}.interests .category[aria-pressed=true] .check{background:#2749ed;border-color:#2749ed}.interests .category[aria-pressed=true] .check svg{opacity:1}
.interests .textbutton{border:0;background:transparent;color:#2749ed;font-size:13px;font-weight:600;padding:10px 0;margin-top:17px}
.interests .modalfoot{flex:none;padding:19px 32px 24px;border-top:1px solid #e8e9ee;background:#fff}.interests .footrow{display:flex;align-items:center;justify-content:space-between;gap:20px}
.interests .skip{border:0;padding:10px 0;background:transparent;color:#697182;font-size:14px;font-weight:500}.interests .skip:hover:not(:disabled){color:#171a25}
.interests .primary{border:0;border-radius:30px;background:#2749ed;color:#fff;padding:13px 24px;min-height:47px;font-weight:600;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:10px}.interests .primary:hover:not(:disabled){background:#1736c9}.interests .primary:disabled{background:#d9def0;color:#828baf}
.interests .footnote{margin:12px 0 0;font-size:12px;color:#868c98;line-height:1.55;text-align:right}
.interests .error{margin:0 0 14px;border:1.5px solid #edb8be;background:#fff6f6;color:#8d4654;font-size:14px;line-height:1.6;padding:12px 14px;border-radius:10px}
.interests .spinner{width:16px;height:16px;border:2px solid #ffffff66;border-top-color:#fff;border-radius:50%;animation:interestsspin .7s linear infinite}.interests.is-busy .close,.interests.is-busy .skip{opacity:.5}
@keyframes interestsin{from{opacity:0;transform:translateY(15px) scale(.985)}to{opacity:1;transform:none}}@keyframes interestsspin{to{transform:rotate(360deg)}}
@media(max-width:550px){.interests{width:calc(100% - 24px);max-height:calc(100dvh - 24px);border-radius:20px}.interests .modalhead{padding:22px 20px 17px}.interests .markrow{margin-bottom:21px}.interests h2{font-size:28px;letter-spacing:-.9px}.interests .modalhead p{font-size:14px}.interests .scrollarea{padding:0 20px 20px}.interests .categorygrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.interests .category{padding:14px 12px;min-height:110px;gap:11px}.interests .categorylabel{font-size:13px}.interests .check{right:10px;top:10px}.interests .modalfoot{padding:16px 20px max(20px,env(safe-area-inset-bottom))}.interests .footrow{gap:15px}.interests .footrow .primary{padding:12px 18px;font-size:14px}.interests .footnote{text-align:left}.interests .gridhelper{align-items:flex-start;font-size:12px;gap:12px}.interests .count{font-size:12px}}
@media(max-height:650px){.interests .modalhead{padding-top:18px;padding-bottom:14px}.interests .markrow{margin-bottom:14px}.interests h2{font-size:28px}.interests .modalfoot{padding-top:14px;padding-bottom:16px}.interests .footnote{margin-top:8px}}
@media(prefers-reduced-motion:reduce){.interests,.interests *{animation:none!important;transition:none!important}}
.interest-preferences{margin:8px 0 18px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:14px;color:#6b6f7c}.interest-preferences p{margin:0}.interest-preferences[hidden]{display:none}
.interest-edit{font:500 14px 'DM Sans',Arial,sans-serif;background:none;border:0;padding:8px 0;color:#2749ed;cursor:pointer}.interest-edit:focus-visible{outline:3px solid #bac6ff;outline-offset:3px}
.interest-pills{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 18px}.interest-pill{background:#f3f5fb;color:#536187;font-size:14px;padding:8px 13px;border-radius:20px}
