html, body { height: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    line-height: 1.5;
    color: #E7EDF6;
    background: #0b0f14;
    background: radial-gradient(900px 600px at 10% -10%, rgba(122,162,255,.18), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(142,240,201,.12), transparent 55%),
    radial-gradient(900px 700px at 60% 110%, rgba(122,162,255,.10), transparent 55%),
    linear-gradient(180deg, #0b0f14, #0f1623);
}
* { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { border: 0; }

@font-face{
    font-family: "IM Fell Great Primer";
    src: url("/fonts/IMFellGreatPrimer-Regular.woff?da29edab") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Share Tech";
    src: url("/fonts/ShareTech-Regular.woff?7bf177ec") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face{
    font-family: "Share Tech Mono";
    src: url("/fonts/ShareTechMono-Regular.woff?2391cd44") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body{
    font-family: "Share Tech", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.brand-title{
    font-family: "IM Fell Great Primer", "Share Tech", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

.container {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.skip {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip:focus {
    left: 12px;
    top: 12px;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    background: rgba(0,0,0,.55);
    z-index: 9999;
}

header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(11,15,20,.70);
    border-bottom: 1px solid rgba(255,255,255,.10);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.head-inner {
    padding: 14px 0;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
}
.brand {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}
.logo {
    display: inline-block;
    width: 36px;
    height: 36px;
    background-image: url("/img/ico_full.png?257ac702");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex: 0 0 auto;
}
.brand-title { margin: 0; font-size: 14px; letter-spacing: .4px; line-height: 1.1; }
.brand-sub { display:block; font-size: 12px; color: #A8B3C7; margin-top: 2px; }

nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.navlink {
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    color: #A8B3C7;
    font-size: 13px;
    white-space: nowrap;
    background: transparent;
}
.navlink:hover {
    color: #E7EDF6;
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    text-decoration: none;
}

.btn {
    display: inline-block;
    padding: 9px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #E7EDF6;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
}
.btn:hover {
    text-decoration: none;
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
}
.btn.primary {
    border-color: rgba(122,162,255,.45);
    background: rgba(122,162,255,.12);
}
.btn.primary:hover {
    border-color: rgba(122,162,255,.60);
    background: rgba(122,162,255,.16);
}

.lang {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.12);
    color: #A8B3C7;
    font-size: 13px;
}
.lang label { margin-right: 8px; color: #A8B3C7; }
.lang select {
    color: #E7EDF6;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 13px;
}

main { padding: 26px 0 44px; }
.panel {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.03);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    padding: 18px;
}

.hero {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
    margin-bottom: 16px;
}
.hero .panel { -ms-flex: 1 1 520px; flex: 1 1 520px; }
.hero h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; letter-spacing: .2px; }
.hero p { margin: 0; color: #A8B3C7; font-size: 14px; }

.intro h2 { margin: 0 0 10px; font-size: 16px; letter-spacing: .4px; }
.intro .intro-body { color: #A8B3C7; font-size: 14px; }
.intro .intro-body p { margin: 0 0 10px; }
.intro .intro-body ul { margin: 0; padding-left: 18px; }
.intro .intro-body li { margin: 6px 0; }

.section-title {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: end;
    align-items: flex-end;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 12px;
}
.section-title h2 {
    margin: 0;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #A8B3C7;
}

.cards {
    margin: 0 -7px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.card-wrap {
    padding: 7px;
    width: 33.3333%;
}
@media (max-width: 960px) {
    .card-wrap { width: 50%; }
}
@media (max-width: 620px) {
    .card-wrap { width: 100%; }
    .brand { min-width: auto; }
}

.card {
    height: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.03);
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}

.thumb {
    position: relative;
    background: rgba(0,0,0,.15);
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.thumb:before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.thumb-inner {
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.thumb img {
    position: absolute;
    left: 0; top: 0; width: 100%; height: 100%;
    display: block;
    object-fit: cover;
}
.thumb:after {
    content: "";
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.22));
    pointer-events: none;
}

.card-body { padding: 14px 14px 12px; }
.card-top {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.card h3 { margin: 0; font-size: 16px; line-height: 1.2; }
.tag {
    font-size: 12px;
    color: #A8B3C7;
    border: 1px solid rgba(255,255,255,.10);
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,.03);
    white-space: nowrap;
}
.short { margin: 0 0 10px; color: #A8B3C7; font-size: 13px; }
.actions { margin-top: 8px; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 10px; }

.modal-overlay {
    display: none;
    position: fixed;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.65);
    z-index: 999;
    padding: 18px;
    overflow: auto;
}
.modal {
    width: 980px;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.14);
    background: #0f1726;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    overflow: hidden;
}
.modal-head {
    padding: 14px 14px;
    border-bottom: 1px solid rgba(255,255,255,.10);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    background: rgba(255,255,255,.03);
}
.modal-title { margin: 0; font-size: 18px; line-height: 1.2; }
.modal-sub { margin-top: 6px; color: #A8B3C7; font-size: 13px; }
.modal-body { padding: 14px; color: #A8B3C7; font-size: 14px; }
.modal-body p { margin: 0 0 10px; }
.modal-body h4 { margin: 14px 0 8px; color: #E7EDF6; font-size: 13px; letter-spacing: .2px; }
.modal-body ul { margin: 0; padding-left: 18px; }
.modal-body li { margin: 6px 0; }

.keys {
    margin: 0;
    padding: 0;
    list-style: none;
}
.keyrow {
    margin: 8px 0;
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;
    background: rgba(0,0,0,.12);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 10px;
}
.kbd {
    display: inline-block;
    font-family: "Share Tech Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 12px;
    padding: 2px 7px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #E7EDF6;
    white-space: nowrap;
    margin-right: 6px;
}
.kdesc { color: #A8B3C7; }

.modal-foot {
    padding: 12px 14px 16px;
    border-top: 1px solid rgba(255,255,255,.10);
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    background: rgba(0,0,0,.08);
}

footer {
    border-top: 1px solid rgba(255,255,255,.10);
    padding: 18px 0 28px;
    color: #A8B3C7;
    font-size: 13px;
}
.footgrid {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 14px;
}
.footcol { -ms-flex: 1 1 420px; flex: 1 1 420px; }
.footcol b { color: #E7EDF6; font-weight: 600; }
.footlinks { margin-top: 10px; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 8px; }
.legal { margin-top: 10px; }
.legal p { margin: 0 0 10px; }

.title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: .2px;
}

.sub {
    margin: 0;
    color: #A8B3C7;
    font-size: 14px;
}

.code {
    margin: 4px 0 10px;
    font-size: 46px;
    line-height: 1;
    letter-spacing: 1px;
}

.muted { color: #A8B3C7; }

.list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #A8B3C7;
    font-size: 14px;
}

.list li { margin: 6px 0; }

@media (max-width: 620px) {  .brand { min-width: auto; }}

.btn[aria-disabled="true"]{
    opacity: .45;
    cursor: not-allowed;
}
.btn[aria-disabled="true"]:hover{
    border-color: rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
}
.toast-host{
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: min(440px, calc(100% - 32px));
}
.toast{
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(15,23,38,.96);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    padding: 12px 12px 12px 14px;
    color: #A8B3C7;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.toast strong{
    color: #E7EDF6;
    font-weight: 600;
}
.toast .toast-body{
    flex: 1 1 auto;
    min-width: 0;
}
.toast .toast-close{
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: #E7EDF6;
    cursor: pointer;
    line-height: 1;
}
.toast .toast-close:hover{
    border-color: rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
}
.toast[data-kind="success"]{ border-color: rgba(142,240,201,.35); }
.toast[data-kind="warn"]{ border-color: rgba(255,205,122,.35); }
.toast[data-kind="error"]{ border-color: rgba(255,122,122,.35); }
@media (max-width: 620px){
    .toast-host{
        left: 16px;
        right: 16px;
    }
}
