@font-face {
    font-family: "OpenMojiDemoFont";
    src: url("OpenMoji-color-glyf_colr_0.woff2") format("woff2");
    unicode-range: U+23,U+2A,U+2D,U+30-39,U+A9,U+AE,U+200D,U+203C,U+2049,U+20E3,U+2117,U+2120,U+2122,U+2139,U+2194-2199,U+21A9,U+21AA,U+229C,U+231A,U+231B,U+2328,U+23CF,U+23E9-23F3,U+23F8-23FE,U+24C2,U+25A1,U+25AA-25AE,U+25B6,U+25C0,U+25C9,U+25D0,U+25D1,U+25E7-25EA,U+25ED,U+25EE,U+25FB-25FE,U+2600-2605,U+260E,U+2611,U+2614,U+2615,U+2618,U+261D,U+2620,U+2622,U+2623,U+2626,U+262A,U+262E,U+262F,U+2638-263A,U+2640,U+2642,U+2648-2653,U+265F,U+2660,U+2663,U+2665,U+2666,U+2668,U+267B,U+267E,U+267F,U+2691-2697,U+2699,U+269B,U+269C,U+26A0,U+26A1,U+26A7,U+26AA,U+26AB,U+26B0,U+26B1,U+26BD,U+26BE,U+26C4,U+26C5,U+26C8,U+26CE,U+26CF,U+26D1,U+26D3,U+26D4,U+26E9,U+26EA,U+26F0-26F5,U+26F7-26FA,U+26FD,U+2702,U+2705,U+2708-270D,U+270F,U+2712,U+2714,U+2716,U+271D,U+2721,U+2728,U+2733,U+2734,U+2744,U+2747,U+274C,U+274E,U+2753-2755,U+2757,U+2763,U+2764,U+2795-2797,U+27A1,U+27B0,U+27BF,U+2934,U+2935,U+2B05-2B07,U+2B0C,U+2B0D,U+2B1B,U+2B1C,U+2B1F-2B24,U+2B2E,U+2B2F,U+2B50,U+2B55,U+2B58,U+2B8F,U+2BBA-2BBC,U+2BC3,U+2BC4,U+2BEA,U+2BEB,U+3030,U+303D,U+3297,U+3299,U+E000-E009,U+E010,U+E011,U+E040-E04B,U+E050-E05D,U+E080-E0B4,U+E0C0-E0CA,U+E0FF-E10D,U+E140-E144,U+E146-E149,U+E150-E157,U+E181-E188,U+E1C0-E1C4,U+E1C6-E1D9,U+E200-E216,U+E240-E269,U+E280-E283,U+E2C0-E2C4,U+E2C6-E2DA,U+E300-E303,U+E305-E30F,U+E312-E316,U+E318-E322,U+E324-E329,U+E32B,U+E340-E348,U+E380,U+E381,U+F000,U+F8FF,U+FE0F,U+1F004,U+1F0CF,U+1F10D-1F10F,U+1F12F,U+1F16D-1F171,U+1F17E,U+1F17F,U+1F18E,U+1F191-1F19A,U+1F1E6-1F1FF,U+1F201,U+1F202,U+1F21A,U+1F22F,U+1F232-1F23A,U+1F250,U+1F251,U+1F300-1F321,U+1F324-1F393,U+1F396,U+1F397,U+1F399-1F39B,U+1F39E-1F3F0,U+1F3F3-1F3F5,U+1F3F7-1F4FD,U+1F4FF-1F53D,U+1F549-1F54E,U+1F550-1F567,U+1F56F,U+1F570,U+1F573-1F57A,U+1F587,U+1F58A-1F58D,U+1F590,U+1F595,U+1F596,U+1F5A4,U+1F5A5,U+1F5A8,U+1F5B1,U+1F5B2,U+1F5BC,U+1F5C2-1F5C4,U+1F5D1-1F5D3,U+1F5DC-1F5DE,U+1F5E1,U+1F5E3,U+1F5E8,U+1F5EF,U+1F5F3,U+1F5FA-1F64F,U+1F680-1F6C5,U+1F6CB-1F6D2,U+1F6D5-1F6D7,U+1F6DD-1F6E5,U+1F6E9,U+1F6EB,U+1F6EC,U+1F6F0,U+1F6F3-1F6FC,U+1F7E0-1F7EB,U+1F7F0,U+1F90C-1F93A,U+1F93C-1F945,U+1F947-1F9FF,U+1FA70-1FA74,U+1FA78-1FA7C,U+1FA80-1FA86,U+1FA90-1FAAC,U+1FAB0-1FABA,U+1FAC0-1FAC5,U+1FAD0-1FAD9,U+1FAE0-1FAE7,U+1FAF0-1FAF6,U+1FBC5-1FBC9,U+E0061-E0067,U+E006C,U+E006E,U+E0070-E0079,U+E007F;
}

:root {
    --bgColor: rgba(255,255,255, 0.8);
    --dpxScl: 1;
    --baseEmojiFontSize: 18rem;
    --scrollbarWidth: 0;
    --cancelRed: #ff5d5d;
    --validGreen: #78e578;
    --postIconOffset: 13.6px;
    --dynWidth: max(600vw, 600vh);
    --vh: 1vh;

    @media(aspect-ratio <= 0.9) and (resolution >= 2x){
        --dpxScl: 2;
    }
}

html {
    font-size: calc(var(--dpxScl) * 16 * 1px);
    width: 100%;
}

body {
    background-color: rgb(95 122 133);
    margin: 0;
    overflow: hidden;

    & * { 
        font-family: Arial, Helvetica, sans-serif, OpenMojiDemoFont;
    }

    input[type="checkbox"] {
        zoom: var(--dpxScl);
    }
}

.ew-background {
    position: absolute;
    top: 0;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    touch-action: none;
    overflow: hidden;

    .ew-bg_img {
        position: absolute;
        display: flex;
        flex-direction: column;
        perspective: 100px;
        max-width: var(--dynWidth);
        max-height: calc(var(--dynWidth) / 2.76 * max(1vw,1vh));
        z-index: -1;
        overflow: hidden;

        @media (max-width: 1160px)  {
            transform-origin: top left;
            transform: scale(2);
        }
        


        & > div.ew-sky_img {
            position: relative;
            display: flex;
            transform-origin:top;
            transition: transform 2s;
        }

        & > div.ew-sky_ground_divider {
            position: relative;
            display: flex;
            transform-origin: bottom;
            transition: transform 2s;

            & > * {
                position: relative;
                
                &:last-child {
                    position: absolute;
                    height: 110%;
                    top: -10%;
                    z-index: 10;
                    pointer-events: none;
                }
            }
        }
    }
}

.ew-nav {
    position: fixed;
    bottom: 0;
    display: flex;
    width: 100%;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
    touch-action: none;

    .ew-navpad {
        display: flex;
        width: 10rem;
        justify-content: center;
        align-items: center;
        height: 8rem;
        background-color: rgba(255, 255, 255, 0.9);
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
        transition: transform 1s;
        z-index: 100;
        box-shadow: 0px 0px 28px 0px lightgray;
        user-select: none;
        touch-action: auto;
        pointer-events: all;

        &.hidden {
            visibility: hidden;
        }

        &.to-tab {
            transform: translateY(75%);
        }

        & > .center {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
    
        & span[data-up], span[data-down], span[data-left], span[data-right]{
            margin: 0.5rem;
            font-size: 1rem;
            font-weight: bold;
            z-index: -1;
        }
    
        & span[data-up], span[data-down]{
            transform: rotateZ(90deg);
        }
    
        & [data-hide] {
            visibility: hidden;
        }
    }
}

.ew-zoom-wrapper {
    width: 100%;
    height: calc(var(--vh,1vh) * 100);
    overflow: hidden;
}

.ew-pages {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(var(--vh,1vh) * 100);
    overflow: hidden;

    &.pages-blowout .ew-page {
        border: 0.13rem solid #566166;
        border-radius: 1.5rem;
        overflow: hidden;
        box-sizing: border-box;

        & * {
            pointer-events: none !important;
            touch-action: none !important;
        }

        &.zoom-page-highlight {
            border: 0.3rem solid whitesmoke;
        }
    }

    .ew-pagesHoriz {
        display: flex;
        flex-shrink: 0;
        overflow: hidden;
        width: 100%;
        height: 100%;
    }

    .ew-pageouter {
        flex-shrink: 0;
        position: relative;
        width: 100vw;
        height: 100%;
    }
}

.ew-page {
    flex-shrink: 0;
    position: relative;
    width: 100%;
    height: 100%;

    transform: scale(0.5);
    transition: transform 1s;
}

.ew-page[data-id="explain"] {
    & > .ew-header {
        background-color: #2196F3;
    }
    & > .ew-content {
        position: relative;
    }
}

.ew-page[data-id="settings"] {
    & > .ew-header {
        background-color: #2196F3;
    }
    & > .ew-content {
        p {
            text-align: center;
            font-size: 1.5rem;
            color: white;
            background: #566166;
            margin: 2rem;
            border-radius: 1rem;
            padding: 1rem;
        }
    }
}

.ew-page[data-id="create"] {
    & > .ew-header {
        background-color: #2196F3;
        height: 5%;
    }
    & > .ew-content {
        overflow: hidden;
        height: 95%;

        & .content-header span.title a {
            text-decoration: underline;
            color: skyblue;
            
            &:active, &:visited {
                color: #00b9fe;
            }
        }
    }
}

.ew-page[data-id="main"] {

    & > .ew-header {
        height: 5%;
    }
    & > .ew-content {
        transform-origin: top;
        transform: scale(0.16);
        height: 562.5%;
        transition: transform 1s, height 0.75s;
    }
    & > .ew-footer {
        height: 5%;
    }
}

@keyframes peekFlash {
    0% {
        opacity: 1;
    }
    25% {
        background-color: rgba(255, 255, 255, 0.5);
    }
    50% {
        background-color: unset;
    }
    75% {
        background-color: rgba(255, 255, 255, 0.5);
    }
    100% {
        background-color: unset;
        opacity: 1;
    }
}

.peek-bar {
    position: fixed;
    z-index: 10;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    transition: opacity 0.3s;
    opacity: 0;
    background-color: rgba(255, 255, 255, 0.5);
    user-select: none;

    &.peek-bar_disable {
        touch-action: none;
        pointer-events: none;
    }

    & > .tooltip {
        padding: 1rem 0rem;
        width: 6.25rem;
    }
}
.peek-bar[data-top]{
    left: 0;
    top: 0;
    width: 100%;
    transform: scaleX(0.8);
    border-top-left-radius: 0;
    border-top-right-radius: 0;

    & > * {
        transform: scaleX(1.25);
    }
}
.peek-bar[data-bottom]{
    left: 0;
    bottom: 0;
    width: 100%;
    transform: scaleX(0.8);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;

    & > * {
        transform: scaleX(1.25);
    }
}
.peek-bar[data-left]{
    left: 0;
    top: 0;
    height: 100%;
    transform: scaleY(0.8);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;

    & > * {
        transform: scaleY(1.25);
    }
}
.peek-bar[data-right]{
    right: 0;
    top: 0;
    height: 100%;
    transform: scaleY(0.8);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;

    & > * {
        transform: scaleY(1.25);
    }
}

.ew-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    height: 3rem;

    span.page-title {
        color: white;
        font-size: 2rem;
        margin-left: 1rem;
    }
}

.ew-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.content-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 5%;
    background-color: white;

    & > span {
        margin: 0 0.5rem;
        text-align: center;
        color: #566166;
        font-size: 1.2rem;
    }

    & > span[data-middle]{
        display: flex;
        width: 20rem;
        justify-content: space-between;
        align-items: center;

        & > span.steps{
            & > span {
                background-color: #2196F3;
                color: white;
                padding: 0 0.2rem;
                border-radius: 0.2rem;
            }
        }
    
        & > span.title{
            font-size: 1.5rem;
        }
    }

    & > span.navBack{
        transform: rotateZ(-45deg);
        font-size: 2rem;
        user-select: none;
        &[data-hide]{
            visibility: hidden;
        }
    }

    & > span.navForward{
        transform: rotateZ(45deg);
        font-size: 2rem;
        user-select: none;
        &[data-hide]{
            visibility: hidden;
        }
    }
}


.flexPane {
    display: flex;
    &.col {
        flex-direction: column;
    }
}

.tooltip {
    position: absolute;
    min-width: 6.25rem;
    text-align: center;
    padding: 0.3125rem 0;
    border-radius: 0.375rem;
    opacity: 0.95;
    z-index: 1;
    outline: none;
    font-size: 1.2rem;
}

.tooltip-arrow {
    position: absolute;
    border-width: 0.3125rem;
    border-style: solid;
    opacity: 0.95;
}

.tooltip-arrow {
    &.top {
        bottom: 100%;
        left: 50%;
        margin-left: -0.3125rem;
        &.innerArrow {
            top: -0.25rem;
        }
    }
    &.bottom {
        top: 100%;
        left: 50%;
        margin-left: -0.3125rem;
        &.innerArrow {
            top: -0.375rem;
        }
    }
    &.left {
        right: 100%;
        top: 50%;
        margin-top: -0.3125rem;
        &.innerArrow {
            left: -0.25rem;
        }
    }
    &.right {
        left: 100%;
        top: 50%;
        margin-top: -0.3125rem;
        &.innerArrow {
            left: -0.375rem;
        }
    }
}

.tooltip-error {
    color: white;
    background-color: red;
}

.tooltip-regular {
    color: white;
    background-color: #566166;
}

.tooltip-hint {
    color: white;
    background-color: orange;
}

.tooltip-success {
    color: white;
    background-color: rgb(85, 212, 0);
}

.tooltip-intro {
    opacity: 0;

    &.tooltip-active {
        padding: 1rem 0;
        transition: padding 1s;
        animation: shake 2s, hop 1s 5s;
        animation-fill-mode: forwards;
    }

    &.mirror {
        padding: 1rem 0;
        transition: padding 1s;
        animation: shake2 2s, hop2 1s 5s;
        animation-fill-mode: forwards;
    }
}

@keyframes shake {
    0% {
        transform: scale(0) translateX(0%) rotateZ(-20deg);
    }
    25% {
        transform: scale(0.25) translateX(25%) rotateZ(20deg);
    }
    50% {
        transform: scale(0.5) translateX(50%) rotateZ(-20deg);
    }
    75% {
        transform: scale(0.75) translateX(75%) rotateZ(20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(100%) rotateZ(0deg);
    }
}

@keyframes shake2 {
    0% {
        transform: scale(0) translateX(0%) rotateZ(-20deg);
    }
    25% {
        transform: scale(0.25) translateX(-25%) rotateZ(20deg);
    }
    50% {
        transform: scale(0.5) translateX(-50%) rotateZ(-20deg);
    }
    75% {
        transform: scale(0.75) translateX(-75%) rotateZ(20deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateX(-100%) rotateZ(0deg);
    }
}

@keyframes hop {
    25% {
        transform: translateX(100%)  translateY(10%);
    }
    50% {
        transform: translateX(100%) translateY(0%);
    }
    75% {
        transform: translateX(100%) translateY(10%);
    }
    100% {
        transform: translateX(100%) translateY(0%);
    }
}

@keyframes hop2 {
    25% {
        transform: translateX(-100%)  translateY(10%);
    }
    50% {
        transform: translateX(-100%) translateY(0%);
    }
    75% {
        transform: translateX(-100%) translateY(10%);
    }
    100% {
        transform: translateX(-100%) translateY(0%);
    }
}


.ew-embedPanel {
    flex-direction: column;
    border-radius: 0.5rem;
    width: 100%;
    height: 100%;
    display: none;
    
    &.ew-embedPanel_show {
        display: flex;
    }

    & .ew-floatList {
        max-height: 100%;
    }

    & > label {
        display: inline-block;
        width: 97%;
        border-bottom: 0.0625rem solid black;
        padding: 0.3125rem;
    }

    .ew-embedHelpImage {
        position: absolute;
        top: 1.75rem;
        left: -17.3125rem;
        border: 0.0625rem solid black;
        border-radius: 0.1875rem;
        visibility: hidden;
        width: 25rem;

        & > img {
            width: 100%;
        }
    }
}

.ew-embedImgModal {
    &[open]{
        display: flex;
    }
    flex-direction: column;
    max-width: 45rem;
    @media(aspect-ratio <= 0.9) and (resolution >= 2x){
        width: 100%;
    }
    overflow: hidden;
    max-height: 90%;
    justify-content: center;
    align-items: center;
    border-radius: 0.5rem;
    border: none;
    background-color: white;
    box-shadow: 0 0rem 7.8125rem gray;
    padding-top: 3rem;
    box-sizing: border-box;

    & > button {
        position: absolute;
        top: 0;
        left: 0;
        font-size: 1.5rem;
        font-weight: bold;
        color: white;
        background: var(--cancelRed);
        border: none;
        outline: none;
        user-select: none;
        transition: transform 0.2s;

        &:active {
            transform-origin: left;
            transform: scaleX(0.9);
        }
    }
    & > img {
        border: 1px solid lightgray;
        border-radius: 0.2rem;
    }
}

.ew-embedField {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 18.5rem;
    background-color: white;
    margin: 0 0;
    padding: 0.375rem 0.1875rem;
    border: 0.0625rem solid gray;
    border-radius: 0.1875rem;

    & > textarea {
        height: 15.25rem;
        font-size: 1rem;
        touch-action: manipulation;
    }

    & > label {
        position: absolute;
        right: 0.75rem;
        bottom: 4.125rem;
        border: 0.0625rem solid gray;
        border-radius: 0.9375rem;

        &:hover {
            border-color: black;
        }
    }

    & > div:last-child {
        display: flex;
        justify-content: center;
        height: 2.0625rem;

        & > button {
            margin: 0 0.125rem;
            width: 3rem;
            font-size: 1rem;
            border-radius: 0.3rem;
            transition: transform 0.2s;
            user-select: none;
            display: flex;
            justify-content: center;
            align-items: center;

            &[data-ok] {
                border: none;
                font-weight: bold;
                font-size: 1.8rem;
                background-color: #2196F3;
                color: white;

                &[disabled]{
                    background-color: gray;
                }
            }
            &[data-cancel]{
                color: #ff3838;
                border: 1px solid gray;
                background-color: white;
                font-size: 1.3rem;
            }

            &:active {
                transform: scale(0.9);
            }
        }
    }
}

.ew-embedRender {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 400px;
    min-height: 400px;
    height: 96%;
    user-select: none;
    overflow: hidden auto;
}

.embed-load-icon {
    position:absolute; 
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    & > span {
        font-size: 80px;
        color: #566166;
        animation: 2s infinite embed-loading;
    }
}

@keyframes embed-loading {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.ew-gradientPicker {
    width: 24.5rem;
    height: 12.5rem;
    top: 0rem;
    left: calc(50% - (24.5rem/2));
    background-color: white;
    z-index: 11;

    & select {
        font-size: 1rem;
        width: 11.125rem;
    }

    & textarea {
        font-size: 1rem;
    }

    & button:last-child {
        font-size: 1rem;
        width: 6rem;
        height: 2rem;
        margin-top: 1rem;
        border-radius: 0.2rem;
        background-color: white;
        border: 1px solid gray;
        align-self: center;

        &:hover {
            text-decoration: underline;
        }
        &:active {
            text-decoration: underline;
        }
    }
}

@media(aspect-ratio <= 0.9) and (resolution >= 2x){
    .ew-gradientPicker {
        top: 0;
        left: 0;
        width: 99.7%;
    }
}

.ew-gradientCtrl {
    border-radius: 0.1875rem;
    border: 0.0625rem solid black;
    padding: 1.5625rem 0.9375rem;
    margin: 0.3125rem 0.625rem;

    & > div:first-child {
        height: 1.875rem !important;
    }
}

.ew-gradientValue {
    display: block;
    border: 0.0625rem solid rgba(0, 0, 0, 0.1);
    border-radius: 0.1875rem;
    background-color: #f1f1f1;
    padding: 0.3125rem 0.4375rem;
    margin: 0 0.3125rem;
    margin-top: 1rem;
    color: #555;
    min-height: 3.875rem;
    resize: vertical;
}

.ew-gradientColorIcon {
    
    & > button {
        border-radius: 1rem;
        width: 1.25rem;
    }
}

.ew-tumblrDim {
    & label {
        margin: 0px 5px;
    }
    & input {
        width: 50px;
    }
}

.ew-iconMenu {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 100%;

    & > .searchbar {
        display: flex;

        & > input {
            box-sizing: border-box;
            border-radius: 0.5rem;
            height: 3.5rem;
            font-size: 1.25rem;
            flex: 1;
            flex-shrink: 0;
            touch-action: manipulation;
    
            &[value=""] {
                width: 100%;
                border: 0.0625rem solid black;
            }
    
            &:focus + div {
                display: block;
            }
        }
    
        & > label:first-child {
            width: 1.5625rem;
            height: 1.5625rem;
            align-self: center;
            padding: 0 0.25rem;
    
            &:has(~ input[value=""]) {
                display: none;
            }
        }
    
        & > label[data-arrow] {
            position: absolute;
            right: 0.25rem;
            padding: 0.75rem 0.3125rem;
            font-size: 1.4375rem;
            pointer-events: none;
        }
    }

    

    & > div.options {
        display: none;
        width: 100%;
        height: 100%;
        border: 0.0625rem solid gray;
        border-radius: 0.1875rem;
        background-color: white;
        overflow-y: scroll;

        &:active {
            display: block;
        }
    }

    & .ew-choice {
        display: flex;
        align-items: center;
        border-bottom: 0.0625rem solid lightgray;
        padding: 0.5625rem 0;

        &:hover {
            background-color: lightskyblue;
        }

        & > * {
            pointer-events: none;
        }

        & > div {
            width: 1.5625rem;
            height: 1.5625rem;
            padding: 0.25rem 0.625rem;
        }

        & > label {
            font-size: 1.25rem;
        }
    }
}

input.grapick_colorpicker:focus {
    outline: none;
}


.kofi-collapse {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    z-index: 1;
    pointer-events: all;
    justify-content: end;

    &:hover {
        animation: none;
    }

    & img[id="kofi-cup-img"] {
        transform: rotateZ(-180deg);
        transition: transform 0.5s, box-shadow 0.3s;
    }

    & > label {
        pointer-events: all;
    }


    .kofi-collapse-modal {
        width: 100vw;
        height: 100vh;
        background-color: transparent;
        border-color: rgba(0, 0, 0, 0.5);

        .kofi-collapse_outer {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow: hidden;
            border-radius: 0.5rem;
            width: 25rem;
            top: 50%;
            left: 50%;
            min-height: 32rem;
            height: 36rem;
            transform: translate(-50%, -50%);
            box-shadow: 0 0 0 100vw rgba(0, 0, 0, 0.5);

            & > .kofi-collapse_inner {
                transition: transform 0.5s;
                background-color: white;
                width: 400px;
                pointer-events: all;
                touch-action: initial;
                @media(aspect-ratio <= 0.9) and (resolution >= 2x){
                    transform-origin: top;
                    transform: scale( min(2, var(--dpxScl)) );
                }

                & > .kofi-collapse-close {
                    position: absolute;
                    right: 0;
                    top: 0;
                    font-size: 23px;
                    padding: 0.5rem;
                    font-weight: bold;

                    &:active {
                        transform: scale(0.9);
                    }
                }
            }
        }
    }

    &.kofi-collapse_closed {
        pointer-events: none;
        z-index: 0;

        & .kofi-collapse_outer {
            box-shadow: initial;
        }

        & .kofi-collapse_inner {
            transform: translateX(-100%) translateY(-100%);
        }
        & img[id="kofi-cup-img"] {
            transform: unset;
            box-shadow: -0.3125rem 2.25rem 0.8125rem -2.0625rem black;
        }
    }

    & > .kofi-dialog {
        display: flex;
        flex-direction: column;
        visibility: hidden;
        align-items: center;
        pointer-events: all;
        box-shadow: 0.3rem 0.5rem 0rem 0.3rem rgba(0,0,0,0.5);
        transition: transform 0.5s 0.5s;
        overflow: hidden;
        transform: translateX(-100vw);

        &.kofi-dialog_show {
            visibility: visible;
            transform: translateX(0);
        }

        & > div:last-child {
            width: 100%;

            & > button {
                background-color: #2196F3;
            }
        }

        & > .kofi-dialog-pages {
            display: flex;
            width: 100%;
            transition: transform 0.2s;

            &[data-page="1"]{
                & > [data-page-2]{
                    visibility: hidden;
                }
            }
            &[data-page="2"]{
                transform: translateX(-100%);
                & > [data-page-1] {
                    visibility: hidden;
                }
            }

            & > .kofi-dialog-page {
                display: flex;
                flex-direction: column;
                flex-shrink: 0;
                align-items: center;
                width: 100%;
                transition: visibility 0.1s;

                &[data-page-1]{
                    & > img {
                        width: 11.6875rem;
                        height: 6.375rem;
                    }
    
                    & > span[data-pointer] {
                        position: relative;
                        pointer-events: none;
                        touch-action: none;
                        height: 0;
                        top: -2rem;
                        opacity: 0;
                        transform: scale(2) translateX(-200%);
                    }
        
                    & span[data-email-get]{
                        align-self: end;
                        margin-bottom: 1rem;
        
                        & > span:first-child {
                            color: #2196F3;
                            font-size: 1rem;
                            text-decoration: underline;
                        }
                        & > span:last-child {
                            display: inline-block;
                            margin-left: 0.5rem;
                        }
                        &:active > span:first-child {
                            color: gray;
                        }
                        &:active > span:last-child {
                            transform: scale(0.9);
                        }
                    }
                }
                &[data-page-2]{
                    & > span[data-share-get] {
                        display: inline-block;
                        transform: rotate(180deg);
                        align-self: start;

                        &:active {
                            transform: scale(0.9) rotate(180deg);
                        }
                    }
                    & > span[data-title] {
                        font-weight: bold;
                        font-size: 1.2rem;
                        align-self: start;
                        text-decoration: underline;
                    }
                    & > p {
                        margin: 0;
                        font-size: 1rem;
                        
                    }
                    & > img {
                        height: 5rem;
                    }
                }
            }
        }

        &[open] {
            & > .kofi-dialog-pages[data-page="1"] span[data-pointer] {
                animation: 4s 2.5s infinite donateClick;
            }
        }
    }
}

@keyframes float {
    0% {
        transform: translateY(0rem);
    }
    50% {
        transform: translateY(-0.5rem);
    }
    100% {
        transform: translateY(0rem);
    }
}

@keyframes pour {
    100% {
        transform: rotateZ(-180deg);
    }
}

@keyframes btnPop {
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes donateClick {
    10% {
        opacity: 1;
        transform: scale(2) translateX(-81%);
    }
    20% {
        transform: scale(1.8) translateX(-81%)
    }
    30% {
        opacity: 1;
        transform: scale(2) translateX(-81%)
    }
    60% {
        opacity: 0;
        transform: scale(2) translateX(-81%)
    }
    100% {
        opacity: 0;
        transform: scale(2) translateX(-81%)
    }
}

.fund-post-pages {
    display: flex;
    width: 100%;
    height: 95%;
    flex-shrink: 0;
    overflow: hidden;

    .fund-post-page {
        flex-shrink: 0;
        width: 100vw;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: start;
    }

    .preview-pass {
        position: fixed;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 95%;
        height: 90.25%;
        margin: 0% 2.5%;
        pointer-events: none;
        touch-action: none;
        user-select: none;

        & .preview-pass_center {
            position: relative;
            display: flex;
            flex-direction: column;
            width: min(70rem, 100%);
            height: 98%;
        }

        & .gap {
            position: relative;
            height: 3rem;
            margin: 0.5rem;
            flex-shrink: 0;
        }

        & .preview-pass-pane {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: start;
            padding: 1rem 0rem;
            width: min(31rem, 90%);
            height: calc(100% - 4rem); /*3rem for .gap height and 1rem for padding*/
            background-color: rgba(255, 255, 255, 0.8);
            box-sizing: border-box;
            border-radius: 0.3rem;
            transition: transform 0.25s, opacity 0.25s, z-index 0.25s 0.25s;
            pointer-events: all;
            touch-action: unset;

            & > .fund-post-render {
                height: initial;
            }
        }

        & span.preview-title {
            position: absolute;
            top: -2rem;
            left: 0;
            font-size: 1.3rem;
            color: white;
        }
    }
}

.fund-post {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 400px;
    min-height: 400px;
    height: inherit;
    max-height: calc(100% / var(--dpxScl));
    transform-origin: center top;
    transform: scale(var(--dpxScl));

    & > * {
        flex-shrink: 0;
    }

    & > .fund-post-options {
        position: relative;
        display: flex;
        flex: 0.13;
        justify-content: space-between;
        align-items: center;
        width: 400px;
        font-size: 16px;
        transition: opacity 1s;
    }

    & > .preview-header {
        width: 400px;
        min-height: 52.135px;
        background-color: white;
        display: flex;
        flex-direction: column;
        justify-content: start;
        font-size: 16px;
        border-radius: 4.8px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        padding: 8px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s, visibility 0s 0.5s;
        z-index: 1;

        & > div {
            display: flex;
            justify-content: space-between;
            align-items: center;

            & > div {
                position: relative;
                display: flex;
                align-items: center;
            }

            & span.name-valid-check{
                position: absolute;
                right: 0;
                color: lightgray;
                padding: 4.8px;
                font-size: 24px;
            }

            & input {
                font-size: 19.2px;
                width: 96px;
                height: 32px;
                border: 1px solid lightgray;

                &[data-name]{
                    width: 240px;
                }

                &[data-amount]{
                    text-align: right;
                    transition: opacity 0.5s;
                }
            }
        }

        .tx-verify-status {
            span.msg {
                color: #44afdd;
                font-style: italic;
            }
        }

        .tx-verify{
            font-size: 16px;
            height: 0;
            border: none;
            padding: 0;
            transition: height 0.5s;
        }

        .tx-verify_show {
            border: revert;
            background-color: white;
            padding: 8px;
            margin: 0 -8px;
            height: 48px;
        }
    }

    & .preview-footer {
        position: relative;
        min-height: 75px;
        display: flex;

        & > * {
            visibility: hidden;
        }

        &.show > * {
            visibility: visible;
            opacity: 1;
            transition: opacity 0.5s;
        }

        &.show-name-only > * {
            visibility: hidden;
            opacity: 0;
        }
    }

    .fund-post-container {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 25rem;
        justify-content: center;
        align-items: center;
        align-self: center;
        border-radius: 1rem;
        transform-origin: top;
        transition: transform 1s;
        overflow: hidden;
        transition: border-top-width 1s, top 1s;
    }

    & .preview-message {
        height: inherit;
        width: 400px;
        background-color: white;
        display: flex;
        align-items: center;
        padding: 0 8px;
        box-sizing: border-box;
        font-size: 19.2px;
        border: 1.6px solid gray;
        border-radius: 4.8px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        border-top: none;
        opacity: 0;
        transition: opacity 0.5s, visibility 0s 0.5s;
        margin: 0;
    }
    
    p.preview-message-describe {
        position: absolute;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 19.2px;
        color: gray;
        width: 100%;
        height: 100%;
        margin: 0;

        &.hide {
            visibility: hidden;
        }

        & > a {
            margin: 0 5px;
            color: #2196F3;
            text-decoration: underline;
            cursor: pointer;

            &:active {
                color: skyblue;
            }
        }
    }

    & .show {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.5s;
    }

    & .show-name-only input[data-amount] {
        visibility: hidden;
        opacity: 0;
    }
}

.fund-post-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: start;
    font-size: 240px;
    width: 400px;
    min-height: 400px;
    border: 1.6px dashed gray;
    border-radius: 16px;
    transition: transform 1s, border-width 1s;
    box-sizing: border-box;
    overflow: hidden;

    & > p {
        position: absolute;
        bottom: 0;
        text-align: center;
        font-size: 48px;
        color: rgba(125, 125, 125, 0.5);
        margin: 0 16px;
        transition: opacity 1s;
        height: 200px;
        display: flex;
        align-items: center;
    }

    & > textarea.emoji-input_active {
        background-color: transparent;
        width: 100%;
        height: 400px;
        font-size: var(--baseEmojiFontSize);
        resize: none;
    }

    & > span[data-emojiCount] {
        position: absolute;
        bottom: 0;
        right: 0;
        font-size: 20.8px;
        margin: 16px;
    }
}

.post-dialog {
    width: min(27.125rem, 100%);
    border-radius: 0.5rem;
    border: none;
    background-color: rgba(255, 255, 255);

    & > button {
        position: absolute;
        top: 0;
        right: 0;
        font-size: 1.3rem;
        font-weight: bold;
        color: black;
        background: transparent;
        border: none;
        margin: 0.5rem;
        user-select: none;

        &:active {
            transform: scale(0.9);
        }
    }

    & > label {
        color: #00b9fe;

        & > div {
            display: flex;
            span {
                color: gray;
                font-weight: bold;
            }
            input {
                width: 100%;
            }
        }
    }

    & * {
        font-size: 1.5rem;
        outline-width: 0;
        border-width: 0.0625rem;
        border-radius: 0.1875rem;
        border-color: rgba(255,255,255,1);
    }
    & *:focus{
        outline-width: 0;
        border-color: rgba(255, 255, 255, 0.95);
    }

    .post-dialog-msg {
        text-align: center;
    }

    .post-dialog-msg-note{
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    & > div > button {
        padding: 0.5rem 1rem;
        border-radius: 0.3rem;
        border: none;
        background-color: white;
        width: 100%;

        &:active {
            transform: scale(0.9);
        }

        &[data-ok] {
            color: white;
            background-color: darkgray;
        }
        &[data-cancel] {
            border: 0.0625rem solid #2196F3;
        }
    }
}

#clr-picker.clr-picker {
    width: 100%;
    height: 100%;

    & .clr-clear {
        border-radius: 0.3125rem;
        font-size: 1rem;
        padding: 0rem 0.9rem;
        height: unset;
    }

    & .clr-color {
        border-radius: 0.3125rem;
        font-size: 1rem;
    }

    & .clr-gradient {
        height: 60%;
    }

    & .clr-segmented {
        border-radius: 0.3125rem;
        font-size: 1rem;

        label:first-of-type {
            border-radius: 0.325rem 0 0 0.325rem;
        }
    }

    & #clr-color-preview, #clr-color-preview * {
        border-radius: 0.325rem;
    }

    & .clr-preview {
        &:before, &:after {
            border-radius: 0.325rem;
        }
    }
}

.confirm-dialog {
    display: flex;
    width: 14.125rem;
    height: 9rem;
    padding: 0rem;
    border-radius: 0.5rem;
    border: none;
    background-color: whitesmoke;
    box-shadow: 0rem 0rem 1rem 0.5rem rgba(0, 0, 0, 0.5);

    & > span.cancel {
        background: var(--cancelRed);
        color: white;
        align-self: start;
        width: 2rem;
        border-radius: 0;
        border-top-left-radius: 0.5rem;
        user-select: none;

        &:active {
            transform-origin: left top;
            transform: scale(0.9);
        }
    }
    & > span:nth-child(2){
        margin: 1rem;
        display: flex;
        align-items: center;
    }
    & > div {
        display: flex;
        justify-content: center;

        & button[data-ok] {
            display: block;
            color: white;
            border: none;
            background-color: #2196F3;
            width: auto;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;

            &:active {
                transform-origin: right;
                transform: scaleX(0.9);
            }
        }
    }
}

.fund-post-page {

    & .restart-embed-overlay {
        display: none;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        border-radius: 0.3rem;
        z-index: 2;

        &.show {
            display: flex;
        }

        & > button {
            width: 10rem;
            height: 6rem;
            border-radius: 0.5rem;
            color: white;
            border: none;
            background-color: #2196F3;
            font-size: 2rem;
            box-shadow: 1px 6px 10px -5px black;

            &:active {
                transform: scale(0.9);
            }
        }
    }
}

.fund-post-page[data-three] {
    .preview-pane {
        display: flex;
        width: 100%;
        height: 100%;
        justify-content: center;
        padding-top: 3rem;
    }
}

.fund-post-page {
    &[data-four], &[data-five] , &[data-six] {
        flex-direction: column;
        justify-content: start;
        align-items: center;
    }
}

.fund-post-page[data-three] {
    .post-input-tx {
        position: relative;
        height: 20rem;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        padding: 1rem;
        box-sizing: border-box;

        & > label {
            margin-bottom: 0.5rem;
        }

        & > button:first-child {
            display: none;
            position: unset;
            top: unset;
            left: unset;
            align-self: end;
        }

        & .tx-input {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100%;

            & textarea {
                width: 100%;
                height: 100%;
                font-size: 1rem;
                border: 0.1rem solid gray;
                touch-action: manipulation;
            }

            & span {
                color: gray;
            }
        }

        & div:last-child > button {
            min-height: 3rem;
            white-space: pre;
            margin-top: 0.5rem;
            background-color: white;
            color: gray;

            &.valid {
                color: var(--validGreen);
            }
            &.invalid {
                color: var(--cancelRed);
            }

            &:active {
                transform: none;
            }
        }
    }
}

.fund-post-page[data-four]{

    .fund-post-post {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;

        & > button {
            margin-top: 1rem;
            border: none;
            color: white;
            width: 15rem;
            height: 10.5rem;
            font-size: 5rem;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            background-color: #2196F3;
            animation: btnPop 2s infinite;

            &[disabled]{
                background-color: lightgray;
                animation: none;
            }

            &:active {
                transform: scale(0.9);
            }
        }
    }
}

.fund-stroll-container_hide{
    transform: translateX(-100%);
    transition: transform 1s;
}

.fund-main {
    .sign {
        display: flex;
        flex-direction: column;
        min-height: 7.2rem;
        align-self: start;
        justify-content: center;

        & > div[data-sort_hint] {
            display: inline;
            width: 3rem;
            padding: 0.5rem;
            border-radius: 0.2rem;
            color: white;
            font-weight: bold;
            background-color: #22b14c;
            border: 0.07rem solid lightgray;
            text-align: center;

            & > span {
                display: inline-block;
                color: white;
                width: 1rem;
                height: 1rem;
                transform: translateY(0.2rem) scale(2.5);
            }

            &~ div{
                position: absolute;
                width: 0.2rem;
                height: 1rem;
                left: 2rem;
                background-color: gray;
                bottom: -0.1875rem;
                z-index: -1;
            }
        } 
    }
}

.fund-show-sky {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float2 3s infinite;

    &.pause {
        animation-play-state: paused;
    }

    & > img {
        position: relative;
        left: 1rem;
        width: min(25rem, 50%);
        height: auto;
    }

    & > div.post-showcase {
        position: relative;
        display: flex;
        justify-content: center;
        font-size: 15rem;
        min-width: 25rem;
        height: 35rem;
        border: 0.2rem dashed rgba(125, 125, 125, 0.5);
        border-radius: 1rem;
        box-sizing: border-box;
        transform-origin: top;
        transform: scale(0.6);

        &.color-bars {
            height: 38.3rem;

            & .ew-embedRender {
                padding: 1rem 0px;
                box-sizing: border-box;
                height: 100%;
            }

            & .render-footer {
                border-bottom-left-radius: 4.8px;
                border-bottom-right-radius: 4.8px;
            }
        }

        p {
            position: absolute;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            font-size: 4rem;
            color: rgba(125, 125, 125, 0.5);
            margin: 0 1rem;
            height: 100%;

            & > * {
                z-index: 10;
            }
        }
    }

    & > span {
        position: absolute;
        top: calc(var(--vh,1vh) * 150);
        font-size: 4rem;
        transform: rotateZ(90deg) scaleY(4);
    }

    & .fund-post-render {
        pointer-events: none;
        touch-action: none;
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0rem);
    }
    50% {
        transform: translateY(2rem);
    }
    100% {
        transform: translateY(0rem);
    }
}

.fund-stroll-container, .fund-main {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;

    .fund-stroll-sort {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        border-bottom: 1px solid gray;

        & > div:first-child {
            display: flex;
            justify-content: center;
            width: 100%;
            
            & > select, [data-time] {
                text-align: center;
                width: 10rem;
                font-size: 1.5rem;
                margin: 1rem 1rem;
                border: none;
                color: black;
                background-color: rgba(255, 255, 255, 0.8);
                padding: 0.5rem 0rem;
                border-radius: 0.5rem;
                box-shadow: 0px 2px 8px 0px gray;
    
                & > option {
                    font-size: 24px;
                    text-align: start;
    
                    &:checked {
                        text-align: center;
                    }
                }
            }

            & > label[data-time]{
                box-shadow: none;
                display: flex;
                justify-content: center;
                align-items: center;
                margin: 0;
                padding: 0;
                height: 2rem;
                border-radius: 0;
                align-self: center;
            }

            & > div.order-arrows{
                display: flex;
                align-items: center;
                background-color: rgba(255, 255, 255, 0.8);
                border-radius: 0.5rem;

                & > label {
                    text-align: center;
                    padding: 0rem 0.3rem;
                }

                & > button {
                    color: black;
                    font-size: 2rem;
                    align-self: center;
                    min-height: 2.5rem;
                    width: 2.5rem;
                    flex-shrink: 0;
                    border: none;
                    border-radius: 0.5rem;
                    background-color: white;
                    box-shadow: 0px 1px 10px 1px gray;
        
                    &:active {
                        transform: scale(0.9);
                    }
                }
            }
        }
        
        & > div:last-child {
            display: flex;
            flex-direction: column;
            min-height: 6.2rem;
            transform-origin: left;
            transform: translateY(0.1rem) translateX(0.3rem) rotateZ(-5deg);
            transition: transform 0.2s 3s;
            touch-action: none;
            pointer-events: none;

            & > div[data-sort_hint] {
                display: inline;
                width: 3rem;
                padding: 0.5rem;
                border-radius: 0.2rem;
                color: white;
                font-weight: bold;
                background-color: #22b14c;
                border: 0.07rem solid lightgray;
                text-align: center;
    
                & > span {
                    display: inline-block;
                    color: white;
                    width: 1rem;
                    height: 1rem;
                    transform: translateY(0.2rem) scale(2.5);
                }

                &~ div{
                    position: absolute;
                    width: 0.2rem;
                    height: 1rem;
                    left: 2rem;
                    background-color: gray;
                    bottom: -0.1875rem;
                    z-index: -1;
                }
            }

            &.catch-up {
                transform-origin: right;
                align-items: end;
                transform: translateX(0rem) rotateZ(-5deg);

                & > div ~ div {
                    left: unset;
                    right: 2rem;
                    bottom: 0rem;
                    height: 2rem;
                }

                & [data-svg-arrow] {
                    transform: translateY(0.2rem) scale(-2.5, 2.5);
                }
            }

            &.sign_slidein {
                transform: translateX(0rem) rotateZ(-5deg);
            }
        }
    }

    .fund-stroll-time-topScrollBar {
        display: flex;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        transform: scaleY(-1);
        scroll-snap-type: x mandatory;

        & > .fund-stroll-time {
            transform: scaleY(-1);
        }
    }

    .fund-stroll-time {
        display: flex;
        max-width: 100%;
        box-sizing: border-box;
    }

    .fund-stroll-day {
        position: relative;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;

        &[data-date^="Your-Posts"]{
            border: 0.2rem dashed skyblue;
        }
    }

    .fund-stroll-day-loader {
        min-width: 0.5rem;
        min-height: 100%;
        background-color: skyblue;
        opacity: 0;
    }

    .fund-stroll-day-loader_active {
        animation: pulse 1s infinite;
    }

    & .fund-stroll-day-date {
        position: relative;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.5);
        width: 100%;
        height: 4rem;
        font-size: 1.5rem;
        border-right: 1px solid gray;
        flex-shrink: 0;

        &.is-today {
            background-color: #2196F3;
            color: white;
        }

        & > span {
            width: 19.8125rem;
            flex-shrink: 0;
            text-align: center;

            &[data-year] {
                position: absolute;
                top: 0;
                right: 0;
                padding: 0.2rem 0.5rem;
                font-size: 0.7rem;
                width: auto;
            }
        }

        & > div {
            position: absolute;
            top: 0;
            left: 0;
            height: 3rem;
            width: 19.8125rem;
            border-bottom: 0.3rem solid skyblue;
            transition: transform 0.3s;
        }

        & > span[data-spots_remaining] {
            position: absolute;
            bottom: 0;
            right: 0px;
            font-size: 1rem;
            background-color: white;
            color: red;
            width: 6rem;
            border-radius: 1rem;
            border: 1px dashed gray;
            padding: 0.5rem 0.1rem;
            transform: rotateZ(-20deg);
        }
    }

    .fund-stroll {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding: 0 16px;
        overflow: hidden auto;
        width: 25rem;

        & > * {
            flex-shrink: 0;
        }

        & .fund-post-render {
            transform-origin: left top;
        }
    }

    .render-container {
        width: 25rem;
        height: 35rem;
        margin: 0.5rem 0;

        &.color-bars {
            height: 38.3rem;

            & .ew-embedRender {
                padding: 1rem 0px;
                box-sizing: border-box;
                height: 100%;
            }

            & .render-footer {
                border-bottom-left-radius: 4.8px;
                border-bottom-right-radius: 4.8px;
            }
        }
    }

    .fund-stroll-loaders {
        display: flex;
        box-sizing: border-box;
        width: 100%;
    }

    .fund-stroll-load {
        position: relative;
        display: flex;
        width: 25rem;
        height: 5rem;
        overflow: hidden;
        flex-shrink: 0;
        margin: 0 1rem;

        & > span {
            visibility: hidden;
            text-align: center;
            width: 25rem;
            font-size: 3rem;

            &.fund-stroll-loading {
                visibility: visible;
                animation: 6s infinite loading;
            }

            &.fund-stroll-end {
                opacity: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 1.5rem;
                background-color: white;
                color: black;
                visibility: visible;
                border-radius: 0.5rem;
                padding: 0.5rem 0rem;
                height: 2rem;
                transition: opacity 3s;
            }
        }
    }
}

.post-icon {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    left: 8px;

    & > span {
        position: absolute;
        text-align: center;
        color: white;
        font-weight: bold;
        border-radius: 16px;
        width: 5.6px;
        height: 4px;
        transform-origin: 2px 2px;
    }

    & span:nth-child(1){
        background-color: #44afdd;
        transform: rotateZ(36deg) translateX(var(--postIconOffset)) ;
    }
    & span:nth-child(2){
        background-color: #85d0f0;
        transform: rotateZ(72deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(3){
        background-color: #aabcc6;
        transform: rotateZ(108deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(4){
        background-color: #a29fcc;
        transform: rotateZ(144deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(5){
        background-color: #d3e8c9;
        transform: rotateZ(180deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(6){
        background-color: #22b14c;
        transform: rotateZ(216deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(7){
        background-color: #b5e61d;
        transform: rotateZ(252deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(8){
        background-color: #ffc90e;
        transform: rotateZ(288deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(9){
        background-color: #ffaec9;
        transform: rotateZ(324deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(10){
        background-color: #e13c26;
        transform: rotateZ(360deg) translateX(var(--postIconOffset));
    }
    & span:nth-child(11){
        background-color: black;
        z-index: 1;
        width: 20px;
        height: 20px;
    }
    
}

.post-show-more-btn {
    position: absolute;
    bottom: 0rem;
    background-color: white;
    width: 94%;
    height: 1.6rem;
    font-size: 1rem;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border: none;
    border: 2px solid gray;
    border-bottom: none;
    user-select: none;
    transform-origin: bottom;
    transform: scale( calc(1 / var(--dpxScl)) );

    &:active {
        transform: translateY(0.2rem);
    }
}

.fund-post-render {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background-color: white;
    border-radius: 4.8px;
    width: 400px;
    min-height: 400px;
    height: inherit;
    max-height: calc(100% / var(--dpxScl));
    font-size: 16px;
    transform-origin: center top;
    transform: scale(var(--dpxScl));

    &.fund-post-render_empty {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 48px;
        color: gray;
        border: 3.2px dashed gray;
        background-color: rgba(255,255,255, 0.3);
        text-align: center;
        height: 528px;
        width: 400px;
        transform-origin: left top;
        transform: scale(var(--dpxScl));
    }

    & > .render-header {
        display: flex;
        justify-content: space-between;
        padding: 16px 8px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;

        & > span:last-child {
            position: relative;
        }
    }

    & > .render-content {
        position: relative;
        display: flex;
        justify-content: center;
        box-sizing: border-box;
        width: 400px;
        min-height: 400px;
        flex: 1;
        border-top: 1.6px solid rgba(125, 125, 125, 0.5);
        border-bottom: 1px solid rgba(125, 125, 125, 0.5);
        overflow: hidden;

        & > span.render-content-emoji {
            font-size: var(--baseEmojiFontSize);
            white-space: pre-line;
        }
    }

    & > .render-footer {
        display: flex;
        flex-direction: column;
        width: 100%;
        background-color: whitesmoke;
        border-radius: 4.8px;
        
        & > .render-message {
            display: flex;
            justify-content: space-between;
            padding: 16px 8px;
            font-size: 19.2px;
            background-color: white
        }
        & > .render-stats {
            position: relative;
            display: flex;
            padding: 1.6px 8px;
            justify-content: end;
            border-radius: 3.2px;

            & > * {
                position: relative;
                width: 24px;
                height: 24px;
                margin: 4.8px 8px;
            }

            & .render-tooltip-stats {
                top: 0;
                left: 0;
                transform: translate(-50%, -100%);
                min-width: 48px;
                font-size: 16px;
            }

            & .render-tooltip-privacy {
                min-width: 112px;
                font-size: 16px;
            }

            & .noise {
                position: absolute;
                width: 100%;
                height: 32px;
                left: 0;
                top: 0;
                overflow: clip;
            }
        }
    }
}

@keyframes pulse {
    50% {
        opacity: 1
    }
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }
    25% {
        transform: translateX(0%);
    }
    30% {
        transform: translate(0%, 0.5rem);
    }
    40% {
        transform: translate(0%, 0rem);
    }
    50% {
        transform: translate(0%, 0.5rem);
    }
    60% {
        transform: translate(0%, 0rem);
    }
    70% {
        transform: translate(0%, 0.5rem);
    }
    80% {
        transform: translate(0%, 0rem);
    }
    100% {
        transform: translateX(100%);
    }
}

.fund-logo {
    position: relative;
    width: 4rem;
    height: 4rem;
    display: flex;
    background-color: #1a1f5e;
    border-radius: 3rem;
    z-index: 11;
    transition: transform 0.5s;
    user-select: none;
    touch-action: none;

    &.click {
        transform: scale(0.8);
        transition: transform 0s;
    }

    &.fund-logo_activate {
        transform: translateX( calc(100vw - 100% - var(--scrollbarWidth)) ) rotateZ(720deg);
    }

    & > img {
        position: relative;
        width: 100%;
        height: 100%;
    }
}

.fund-about_center {
    position: absolute;
    display: flex;
    justify-content: center;
    top: 0;
    z-index: 10;
    width: 100%;
    height: calc(var(--vh,1vh) * 100);
    box-sizing: border-box;
    transition: transform 1s;
    overflow-y: auto;

    &.fund-about_hide {
        transform: translateX(-100%);
    }
}

.fund-about {

    & > .fund-about-section {
        position: relative;
        overflow: hidden;
        height: 4rem;
        transition: height 0.5s;

        & > .fund-about-heading {
            position: relative;
            display: flex;
            justify-content: space-between;
            background-color: #566166;
            color: white;
            box-shadow: 0px 0px 4px 0px black;
            z-index: 1;
            user-select: none;

            & > span {
                padding: 1rem;
                font-size: 1.5rem;
                pointer-events: none;
            }

            &:active {
                & > span {
                    transform: scale(0.85);
                }
            }
        }
        
        & > .fund-about-explain {
            width: 100%;
            background-color: whitesmoke;
            display: flex;
            flex-direction: column;

            & > * {
                white-space: normal;
                margin: 0.2rem;
            }

            & svg {
                margin-left: 7px;
                height: 1.3125rem;
            }

            & .explain-post-preview {
                display: flex;
                justify-content: center;
                align-items: center;
                align-self: center;
                text-align: center;
                font-size: 2rem;
                width: 14rem;
                border: 0.4rem dashed rgba(125, 125, 125, 0.5);
                border-radius: 1rem;
                height: 7rem;
                color: rgba(125, 125, 125, 0.5);
            }

            & .explain-post-button {
                background-color: #2196F3;
                color: white;
                width: 6rem;
                height: 3.5rem;
                font-size: 2rem;
                padding: 0.5rem 1rem;
                border: none;
                border-radius: 0.5rem;
                display: flex;
                align-items: center;
                justify-content: center;
                align-self: center;
            }

            & > div[data-welcome] {
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: end;
                align-items: center;
                text-align: center;
                height: 589px;
                background-color: #1ea84e;

                & > img {
                    position: absolute;
                    top: 0;
                    height: 100%;
                    transform: translateX(363px);
                }

                & > div[data-welcome_sign]{
                    display: flex;
                    flex-direction: column;
                    background: #1E53CB;
                    background: linear-gradient(-13deg, rgba(30, 83, 203, 1) 0%, rgba(87, 126, 199, 1) 75%, rgba(224, 224, 224, 1) 100%);
                    border: 8px solid white;
                    border-radius: 8px;
                    color: white;
                    padding: 16px 32px;
                    z-index: 0;

                    & p[data-tagline]{
                        font-size: 19.2px;
                        font-style: italic;
                    }
                }
                & > div[data-welcome_poles]{
                    width: 320px;
                    height: 160px;
                    border-left: 9.6px solid gray;
                    border-right: 9.6px solid gray;
                    z-index: 0;
                }
            }
            
            & > p {
                font-size: 1.5rem;
                display: inline;

                & em {
                    font-size: 2rem;
                    line-height: 1.3125rem;
                    margin: 0rem 0.4rem;
                }

                &.ask{
                    padding: 1rem;
                    font-style: italic;
                    background-color: #e0f5d6;
                    border-radius: 0.5rem;
                    max-width: 73%;
                    margin-right: auto;
                }
                
                &.answer{
                    padding: 1rem;
                    background-color: #566166;
                    color: white;
                    border-radius: 0.5rem;
                    max-width: 73%;
                    margin-left: auto;
                    font-size: 1.3rem;
                }

                &.purpose{
                    font-size: 1.7rem;
                    background-color: #2196F3;
                    color: white;
                    padding: 2rem 1rem;
                    margin: 0;
                    justify-content: end;
                }

                & span.twitter{
                    color: #00AAEC;
                    margin-left: 7px;
                }
            }

            & > p, & > p span {
                &.negative {
                    color: #ff5a44;
                }
                &.positive {
                    color: #b5e61d;
                }
                &.affirm {
                    color: #ffc90e;
                }
                &.desire {
                    color: #ffaec9;
                }
                &.statement {
                    color: #85d0f0;
                }
                &.ideals {
                    background-color: #a29fcc;
                    color: black;
                }
                &.margin-center {
                    margin-right: auto;
                    margin-left: auto;
                }
            }

            & p[data-logo_horizontal]{
                white-space: normal;
                color: black;
                background-color: #363636;
                padding: 0.04rem;
                display: flex;
                border-radius: 0.5rem;

                & span {
                    display: inline-block;
                    border-radius: 8px;
                    font-size: 96px;
                    line-height: 80px;
                    overflow: hidden;
                    width: 48px;
                    height: 64px;
                    padding: 0;
                    margin: 0 1px;
                    text-align: center;
                    box-sizing: border-box;
                    font-weight: bold;
                }
                & span:nth-child(1){
                    background-color: #44afdd;
                }
                & span:nth-child(2){
                    background-color: #85d0f0;
                    font-size: 128px;
                    line-height: 112px;
                }
                & span:nth-child(3){
                    background-color: #aabcc6;
                }
                & span:nth-child(4){
                    background-color: #a29fcc;
                }
                & span:nth-child(5){
                    background-color: #d3e8c9;
                }
                & span:nth-child(6){
                    background-color: #22b14c;
                }
                & span:nth-child(7){
                    background-color: #b5e61d;
                }
                & span:nth-child(8){
                    background-color: #ffc90e;
                }
                & span:nth-child(9){
                    background-color: #ffaec9;
                }
                & span:nth-child(10){
                    background-color: #e13c26;
                }
            }
        }
    }
}

.ew-surface {
    display: flex;
    width: min(70rem, 100%);
    height: 100%;
    justify-content: center;
    align-items: center;

    .plane {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 95%;
        height: 98%;

        .shuffle {
            width: 3rem;
            height: 3rem;
            background-color: white;
            border-radius: 0.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            box-shadow: 0px 0px 9px 0px #566166;
            border: none;
            padding: 0.4rem;
            margin: 0.5rem;
            transition: transform 0.25s;

            &.hide {
                visibility: hidden;
            }

            & > svg, img {
                width: 2.5rem;
                height: 2.5rem;
            }

            &:active {
                transform: scale(0.9);
            }

            &.pop {
                animation: 0.25s flipBtnPop;
            }
        }

        .surfaces {
            position: relative;
            height: 100%;
            width : 100%;

            & .remove {
                display: none;
            }

            &.flip > .surface1 {
                z-index: 1;
                opacity: 1;
            }
            &.shift > .surface1 {
                transform: translateX(-50%);
            }
    
            &.flip > .surface2 {
                z-index: 0;
                opacity: 0.5;
            }
            &.shift > .surface2 {
                transform: translateX(50%);
            }
        }

        .surface1, .surface2 {
            position: absolute;
            width: min(31rem, 90%);
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            border-radius: 0.3rem;
            transition: transform 0.25s, opacity 0.25s, z-index 0.25s 0.25s;
        }

        .surface1 {
            left: 0;
            z-index: 0;
            opacity: 0.5;
        }
        
        .surface2 {
            right: 0;
            z-index: 1;
            opacity: 1;
        }
    }
}

.surface1 {
    z-index: 0;
    opacity: 0.5;

    &.flip {
        z-index: 1;
        opacity: 1;
    }
}
.surface1.shift {
    transform: translateX(-50%);
}

.surface2 {
    z-index: 1;
    opacity: 1;

    &.flip {
        z-index: 0;
        opacity: 0.5;
    }
}
.surface2.shift {
    transform: translateX(50%);
}

@keyframes swap {
    0% {
        transform: translateX(10%);
    }
    100% {
        transform: translateX(0%);
    }
}

@keyframes flipBtnPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.decide-post-type {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1rem;
    box-sizing: border-box;

    &.hide {
        visibility: hidden;
    }

    & .decide-post-sample {
        display: flex;

        & > a {
            font-size: 1.3rem;
            color: gray;
            text-decoration: underline;
            cursor: pointer;
            user-select: none;

            &:active {
                color: lightgray;
            }
        }
        & > button {
            position: relative;
            border: 0.1rem solid gray;
            background-color: transparent;
            height: 1.85rem;
            width: 1.85rem;
            border-radius: 1.3rem;
            left: 0.5rem;
            top: -0.25rem;
            font-size: 1rem;

            &:active {
                transform: scale(0.9);
            }
        }
    }

    & > div {
        width: 100%;

        &:first-child {
            justify-content: center;
            height: 10%;
        }

        & > span {
            font-size: 7.5rem;
            color: #566166;
        }
    }
}