@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&family=Monoton&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Amarante&family=Oleo+Script+Swash+Caps:wght@400;700&family=Rubik+Spray+Paint&family=Yanone+Kaffeesatz:wght@200..700&display=swap');
:root {
    --nuance-1-1: #98bec3;
    --nuance-1-2: #fc7b60;

    --nuance-2-1: #efe4d1;
    --nuance-2-2: #fffbf4;
    --nuance-2-3: #f1f1e3;

    --btn-1-bg: #fc785e;
    --btn-1-color: #f1f1e3;

    --chatfab-h: 56px;

    --font-main: "Amarante", serif, "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --font-title: "Playfair Display", serif;
}


html, body {
    height: 100%;
}

html[data-font="default"],
html[data-font="quicksand"]{
    --font-main: "Amarante", serif, "Quicksand", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html[data-font="raleway"]{
    --font-main: "Raleway", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html[data-font="karla"]{
    --font-main: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html[data-font="system"]{
    --font-main: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

html[data-font="atkinson"]{
    --font-main: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
    background-color: #f1f1e3;
    margin: 0;
    color: #30445d;
    background-image: url(https://t3.ftcdn.net/jpg/04/95/33/22/360_F_495332228_1H13ShMAn2Z80Hw1JlM6PtD0Jbbb9qc1.jpg);
    font-family: var(--font-main);
    font-weight: 400;
    font-style: normal;
}

.site-wrapper{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    background-color: #f1f1e3;
}

.v2-pagination,
.v2-pagination * { box-sizing: border-box; }

.v2-pagination{
    margin: 18px 0 22px;
    display: grid;
    justify-items: center;
    gap: 10px;
}

.v2-pagination-inner{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;

    padding: 10px 12px;
    border-radius: 999px;

    background: rgba(255,255,255,.55);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 10px 22px rgba(0,0,0,.10);
}

.v2-pages{
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.v2-page{
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 40px;
    height: 34px;
    padding: 0 12px;

    border-radius: 999px;
    text-decoration: none !important;

    font-weight: 900;
    font-size: 12px;

    background: #f7efd8;
    color: #4b3a2f;

    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    transition: transform .12s ease, filter .15s ease, box-shadow .15s ease;
}

.v2-page:hover{
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 10px 18px rgba(0,0,0,.10);
}

.v2-page.is-current{
    background: linear-gradient(135deg, #f8805d, #df5026);
    color: #fff;
    box-shadow: 0 10px 18px rgba(223,80,38,.22);
}

.v2-page.v2-nav{
    background: rgba(185,215,223,.35);
    color: #1f3d32;
}

.v2-page.v2-nav span{
    font-weight: 950;
}

.v2-page.is-disabled{
    opacity: .55;
    pointer-events: none;
    filter: none;
}

.v2-ellipsis{
    font-weight: 950;
    color: rgba(75,58,47,.65);
    padding: 0 4px;
}

.v2-pagination-meta{
    font-size: 12px;
    font-weight: 900;
    color: rgba(75,58,47,.75);

    background: rgba(255,255,255,.45);
    border-radius: 999px;
    padding: 6px 10px;

    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}


.quickfabs,
.quickfabs *{ box-sizing: border-box; }

.quickfabs{
    position: fixed;
    right: 20px;
    bottom: 18px;
    z-index: 1600;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quickfab-btn{
    width: 56px;
    height: 56px;
    border-radius: 15px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    cursor: pointer;

    background: linear-gradient(45deg, #5865F2, #404EED);
    color: #fff;

    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 14px 30px rgba(0,0,0,.16);

    backdrop-filter: blur(6px);

    transition: transform .12s ease, filter .15s ease;
}


.quickfab-btn:hover{
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.quickfab-btn i{
    font-size: 18px;
    line-height: 1;
}

.quickfab-btn.is-map{
    background: linear-gradient(135deg, #70b7d3, #7dbbbf);
}

@media (max-width: 520px){
    .quickfabs{
        right: 12px;
        bottom: 18px;
    }
}

.topfabs, .topfabs * { box-sizing: border-box; }

.topfabs{
    position: fixed;
    right: 20px;
    top: 104px;
    z-index: 1700;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topfab-btn{
    width: 56px;
    height: 56px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    background: linear-gradient(135deg, #70b7d3, #7dbbbf);
    color: #fff;
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.06),
        0 14px 30px rgba(0,0,0,.16);
    backdrop-filter: blur(6px);
    transition: transform .12s ease, filter .15s ease;
}

.topfab-btn:hover{
    transform: translateY(-2px);
    filter: brightness(1.03);
}

.topfab-btn i{
    font-size: 18px;
    line-height: 1;
}

.notif-wrap{ position: fixed; }

.notif-badge{
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 900;
    background: linear-gradient(135deg, #f8805d, #df5026);
    color: #fff;

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.15),
        0 10px 18px rgba(223,80,38,.22);
}

.notif-panel{
    position: absolute;
    right: 0;
    top: 64px;

    width: 360px;
    max-width: calc(100vw - 24px);

    border-radius: 18px;
    background: rgba(255,255,255,.75);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.07),
        0 18px 48px rgba(0,0,0,.18);
    backdrop-filter: blur(10px);

    overflow: hidden;
    display: none;
}

.notif-panel.is-open{ display: block; }

.notif-head{
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    background: rgba(255,255,255,.55);
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.06);
}

.notif-title{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    color: #30445d;
}

.notif-actions{
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.notif-link{
    border: 0;
    background: transparent;
    cursor: pointer;
    font-weight: 900;
    font-size: 12px;
    color: rgba(48,68,93,.85);
    padding: 6px 8px;
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.notif-link:hover{
    filter: brightness(1.02);
}

.notif-list{
    max-height: 420px;
    overflow: auto;
    padding: 10px;
    display: grid;
    gap: 8px;
}

.notif-empty{
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.55);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    font-weight: 900;
    font-size: 12px;
    color: rgba(48,68,93,.75);
    text-align: center;
}

.notif-item{
    border-radius: 14px;
    background: rgba(255,255,255,.55);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
    padding: 10px 10px 10px 12px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;

    transition: transform .12s ease, filter .15s ease;
}

.notif-item:hover{
    transform: translateY(-1px);
    filter: brightness(1.02);
}

.notif-item.is-unread{
    box-shadow:
        inset 0 0 0 2px rgba(223,80,38,.25),
        0 10px 18px rgba(223,80,38,.10);
}

.notif-main{
    display: grid;
    gap: 6px;
}

.notif-msg{
    font-weight: 900;
    font-size: 12px;
    color: #30445d;
    line-height: 1.2;
}

.notif-meta{
    font-weight: 900;
    font-size: 11px;
    color: rgba(48,68,93,.60);
}

.notif-controls{
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.notif-ico{
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(185,215,223,.35);
    color: rgba(48,68,93,.9);

    box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}

.notif-ico:hover{ filter: brightness(1.03); }

.notif-foot{
    padding: 10px 12px;
    background: rgba(255,255,255,.55);
    box-shadow: inset 0 1px 0 rgba(0,0,0,.06);
    display: flex;
    justify-content: flex-end;
}

.notif-close{
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 900;
    font-size: 12px;

    background: linear-gradient(135deg, #f8805d, #df5026);
    color: #fff;
    box-shadow: 0 10px 18px rgba(223,80,38,.22);
}

@media (max-width: 520px){
    .topfabs{ right: 12px; top: 96px; }
    .notif-panel{ width: 340px; }
}

.notif-item { cursor: pointer; }
.notif-controls { cursor: default; }

.common-wrapper{
    width: min(1080px, calc(100% - 40px));
    margin: 0 auto;
}

.jump-arrows {
    --jump-left: 20px;
    --jump-bottom: 18px;

    position: fixed;
    z-index: 1199;
    display: grid;
    gap: 10px;

    left: var(--jump-left, 20px);
    bottom: var(--jump-bottom);
}

@media (max-width: 520px) {
    .jump-arrows {
        left: 12px;
    }
}

.jump-btn {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: #f7efd8;
    color: #4b3a2f;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform .12s ease, opacity .12s ease, filter .12s ease;
    opacity: .92;
}

.jump-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.jump-btn:active { transform: translateY(0px) scale(.98); }

.jump-btn.is-hidden {
    opacity: 0;
    transform: scale(.92);
    pointer-events: none;
}

.jump-btn i {
    font-size: 18px;
    line-height: 1;
}


.pkmbox-toasts{
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.pkmbox-toast{
    min-width: 220px;
    max-width: 340px;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 14px 28px rgba(0,0,0,.22);
    display: flex;
    align-items: center;
    gap: 10px;

    opacity: 0;
    transform: translateY(10px) scale(.98);
    animation: pkmbox-toast-in .25s ease forwards;

    pointer-events: auto;
}

.pkmbox-toast--success{
    background: linear-gradient(135deg, #7fc8a9, #3f8f74);
}

.pkmbox-toast--error{
    background: linear-gradient(135deg, #ff9b7b, #df5026);
}

.pkmbox-toast--info{
    background: linear-gradient(135deg, #98bec3, #30445d);
}

.pkmbox-toast i{
    font-size: 16px;
    opacity: .95;
}

@keyframes pkmbox-toast-in{
    to{
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pkmbox-toast-out{
    to{
        opacity: 0;
        transform: translateY(8px) scale(.96);
    }
}
