.nkkt{display:block;padding-top:var(--nkkt-space-top,32px);padding-bottom:var(--nkkt-space-bottom,8px);scroll-margin-top:165px;color:#082c4e}
.nkkt [hidden]{display:none!important}
.nkkt__bar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;background:#f6f8fa;border:1px solid #e5eaf0;border-radius:14px}
.nkkt__heading{margin:0;color:#082c4e;font-family:var(--font-heading-family);font-size:26px;font-weight:700;line-height:1.15;letter-spacing:.01em;text-transform:uppercase}
.nkkt__intro{margin:6px 0 0;font-size:13px;line-height:1.5;color:#6b7380}
.nkkt__controls{display:flex;align-items:center;gap:16px;flex:0 1 380px}
.nkkt__open{display:flex;align-items:center;gap:12px;width:100%;min-height:54px;padding:12px 16px;border:1px solid #ccd6df;border-radius:9px;background:#fff;color:#082c4e;cursor:pointer;font:500 15px/1.4 var(--font-body-family);text-align:left;transition:border-color .15s,box-shadow .15s}
.nkkt__open:hover{border-color:#082c4e;box-shadow:0 2px 9px #082c4e0a}
.nkkt__open>svg{width:22px;height:22px;flex-shrink:0}
.nkkt__default-icon{display:flex;width:22px;height:22px;flex-shrink:0}
.nkkt__default-icon svg{width:22px;height:22px}
.nkkt__open>.nkkt__chevron{width:16px;height:16px;margin-left:auto}
.nkkt__chosen-image{width:28px;height:28px;object-fit:contain;flex-shrink:0}
.nkkt__reset{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;flex-shrink:0;color:#5e6a78;background:#eaf0f5}
.nkkt__reset:hover{background:#dee8f0;color:#082c4e}
.nkkt__reset svg{width:22px;height:22px}
.nkkt__dialog{box-sizing:border-box;width:600px;max-width:calc(100vw - 40px);height:min(620px,calc(100dvh - 80px));max-height:calc(100dvh - 80px);padding:0;border:0;border-radius:18px;background:#fff;color:#082c4e;box-shadow:0 24px 80px #0004;overflow:hidden}
.nkkt__dialog[open]{display:flex;flex-direction:column}
.nkkt__dialog::backdrop{background:#06172780;backdrop-filter:blur(3px)}
.nkkt__dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px 12px 24px;flex-shrink:0}
.nkkt__dialog-head h3{margin:0;color:#082c4e;font-family:var(--font-heading-family);font-size:28px;line-height:1.2;text-transform:uppercase}
.nkkt__close{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;border:0;border-radius:50%;background:#f2f5f7;color:#082c4e;cursor:pointer;flex-shrink:0}
.nkkt__close svg{width:22px;height:22px}
.nkkt__search-wrap{padding:0 24px 16px;flex-shrink:0}
.nkkt__search{display:flex;align-items:center;gap:12px;padding:0 14px;border:1px solid #ccd6df;border-radius:9px;background:#fafbfd}
.nkkt__search:focus-within{border-color:#082c4e;box-shadow:0 0 0 1px #082c4e}
.nkkt__search svg{width:20px;height:20px;flex-shrink:0}
.nkkt__search input{min-width:0;width:100%;height:48px;border:0;background:none;outline:none;box-shadow:none;color:#082c4e;font:400 16px/1.4 var(--font-body-family)}
.nkkt__search input:focus{outline:none;box-shadow:none}
.nkkt__search input::placeholder{color:#7b838f;opacity:1}
.nkkt__groups{display:flex;gap:8px;padding:0 24px 16px;flex-shrink:0}
.nkkt__groups button{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 12px;border:1px solid #e1e6eb;border-radius:24px;background:#fff;color:#536170;font:500 13px/1.35 var(--font-body-family);cursor:pointer;white-space:nowrap}
.nkkt__groups button[aria-pressed=true]{background:#082c4e;border-color:#082c4e;color:#fff}
.nkkt__groups button span{font-size:11px;opacity:.7}
.nkkt__results{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c8d2dc #f5f7f9;border-top:1px solid #edf0f3;border-bottom:1px solid #edf0f3}
.nkkt__all-wrap{position:sticky;top:0;z-index:1;padding:8px 16px;background:#fff;border-bottom:1px solid #edf0f3}
.nkkt__all-option{height:auto!important;min-height:48px}
.nkkt__all-option svg{width:24px;height:24px}
.nkkt__list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 8px;margin:0;padding:12px 16px;list-style:none}
.nkkt__option{display:flex;align-items:center;gap:12px;min-height:52px;height:100%;padding:8px 10px;border:1px solid transparent;border-radius:9px;text-decoration:none;color:#24384d;transition:background .15s,border-color .15s}
.nkkt__option:hover{background:#f3f6f9;border-color:#e5ebf0}
.nkkt__option.is-active{background:#edf4fa;color:#082c4e;border-color:#c5d7e8}
.nkkt__crest{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0}
.nkkt__crest img{width:100%;height:100%;object-fit:contain}
.nkkt__crest--flag img{height:auto;max-height:26px;border-radius:2px;filter:drop-shadow(0 1px 1px #0002)}
.nkkt__name{font-size:13px;line-height:1.35;font-weight:500}
.nkkt__check{margin-left:auto;font-size:14px;font-weight:700}
.nkkt__empty{margin:0;padding:54px 32px;color:#6b7380;text-align:center;font-size:14px;line-height:1.6}
.nkkt__dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;padding:14px 24px;flex-shrink:0;font-size:12px;line-height:1.4}
.nkkt__matches{color:#74808c}
.nkkt__dialog-foot a{color:#082c4e;font-weight:600;text-decoration:none}
.nkkt__dialog-foot a:hover{text-decoration:underline;text-underline-offset:3px}
.nkkt__sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.nkkt a:focus-visible,.nkkt button:focus-visible{outline:2px solid #0075c9;outline-offset:3px}
.nkkt__fallback{margin-top:12px;font-size:14px}
.nkkt__fallback ul{max-height:320px;overflow:auto;columns:2}
@media(max-width:749px){
 .nkkt{padding-top:20px;scroll-margin-top:95px}
 .nkkt__bar{display:block;padding:18px;border-radius:12px}
 .nkkt__heading{font-size:24px}
 .nkkt__intro{font-size:12px;margin-top:5px}
 .nkkt__controls{margin-top:14px;gap:12px}
 .nkkt__open{min-height:50px;padding:11px 13px;font-size:14px}
 .nkkt__dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:100%;height:82dvh;max-height:82dvh;border-radius:20px 20px 0 0}
 .nkkt__dialog-head{padding:14px 12px 10px 20px}
 .nkkt__dialog-head h3{font-size:25px}
 .nkkt__search-wrap{padding:0 20px 14px}
 .nkkt__groups{padding:0 20px 14px;gap:6px}
 .nkkt__groups button{padding:8px 10px;font-size:12px;gap:5px}
 .nkkt__list{grid-template-columns:1fr;padding:8px 12px;gap:2px}
 .nkkt__option{min-height:48px;padding:7px 10px}
 .nkkt__name{font-size:14px}
 .nkkt__dialog-foot{padding:14px 20px calc(14px + env(safe-area-inset-bottom));font-size:12px}
}
@media(prefers-reduced-motion:reduce){.nkkt *{transition:none!important}}
