/* =====================================================
   KOTORI Keyboard Clicker
===================================================== */

.mm-cc{
    position:fixed;

    left:47%;
    bottom:50px;

    top:auto;
    right:auto;

    transform:translateX(-50%);

    width:200px;
    height:120px;

    box-sizing:border-box;
    overflow:visible;

    z-index:25000;

    display:flex;
    justify-content:center;
    align-items:flex-end;
    gap:4px;

    background:#fff;

    padding:20px 20px 16px;

    border-radius:6px;

    box-shadow:0 2px 10px rgba(0,0,0,.12);

    user-select:none;
    -webkit-user-select:none;

    transition:
        opacity .15s ease,
        transform .15s cubic-bezier(.34,1.56,.64,1);
}

/* 숨김 */

.mm-cc.mmcc-hidden{

    opacity:0;

    transform:translateX(-50%) scale(.85);

    pointer-events:none;

}

/* 전체 폰트 */

.mm-cc *{

    font-family:"Mona10x12",sans-serif !important;

}

/* =====================================================
   Title
===================================================== */

/* =====================================================
   Header
===================================================== */

.mmcc-title {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: #6b8165; /* 기존 색상 유지 */

    color: #ffffff; /* 글자 흰색 */

    border-radius: 6px 6px 0 0;
    cursor: move;
    transition: .25s;
    box-sizing: border-box;
}

.mmcc-about {
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .5px;
}

/* =====================================================
   Volume
===================================================== */

.mmcc-sound {
    display: flex;
    align-items: center;
    margin-left: auto;
    margin-right: 10px;
}

.mmcc-volume{

    appearance:none;
    -webkit-appearance:none;

    width:52px;
    height:4px;

    border-radius:2px;

    background:rgba(255,255,255,.4);

    outline:none;

    cursor:pointer;

}

.mmcc-volume::-webkit-slider-runnable-track{

    height:4px;

    border-radius:2px;

    background:rgba(255,255,255,.4);

}

.mmcc-volume::-webkit-slider-thumb{

    appearance:none;
    -webkit-appearance:none;

    width:8px;
    height:8px;

    border-radius:50%;

    background:#fff;

    margin-top:-2px;

}

/* =====================================================
   Close Button
===================================================== */

.mmcc-off {
    position: relative;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    transition: .2s;
}

    .mmcc-off::before,
    .mmcc-off::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 7px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
    }

.mmcc-off::before{

    transform:translate(-50%,-50%) rotate(45deg);

}

.mmcc-off::after{

    transform:translate(-50%,-50%) rotate(-45deg);

}

    .mmcc-off:hover {
        background: rgba(255,255,255,.35);
    }

.mmcc-off:hover::before,
.mmcc-off:hover::after{

    background:#fff;

}

/* =====================================================
   Keycaps
===================================================== */

.mm-kc{

    width:64px;
    height:64px;

    flex:0 0 64px;

    overflow:hidden;

    border-radius:10px;

    pointer-events:none;

}

.mm-kc img{

    display:block;

    width:100%;
    height:100%;

    object-fit:cover;

    pointer-events:none;

    user-select:none;
    -webkit-user-select:none;
    -webkit-user-drag:none;

}

.mm-kc.clicker{

    transform:scaleY(.95);

    transform-origin:bottom;

    filter:brightness(.95);

    transition:.05s;

}

/* =====================================================
   Info
===================================================== */

.mmcc-info{

    position:absolute;

    left:50%;

    bottom:-20px;

    transform:translateX(-50%);

    white-space:nowrap;

    font-size:12px;

    color:#222;

    transition:opacity .2s;

}

.mmcc-info.mmcc-info-hide{

    opacity:0;

    pointer-events:none;

}

/* =====================================================
   Open Button
===================================================== */

.mmcc-open {
    position: fixed;
    right: 30px;
    top: calc(50% - 100px);
    width: 160px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    cursor: pointer;
    z-index: 19998;
    transition: .25s;
}

    .mmcc-open:hover {
        transform: translateY(calc(-2px));
        box-shadow: 0 16px 32px rgba(0,0,0,.24);
    }

.mmcc-open-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #444;
}

.mmcc-open-icon {
    color: #6B8165;
    font-size: 18px;
    flex: none;
}

.mmcc-open-sub {
    margin-left: 26px;
    font-size: 11px;
    color: #999;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* =====================================================
   Mobile
===================================================== */

@media (max-width:800px){

    .mm-cc,
    .mmcc-open{

        display:none !important;

    }

}

/* =====================================================
   END
===================================================== */