@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Roboto+Slab:wght@100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSansNeo.css);
@import url('https://static.toss.im/tps/main.css');
@import url('https://static.toss.im/tps/others.css');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');

* {
    outline: none;
    box-sizing: border-box;
    word-break: break-word;
    font-family: "Inter", "Toss Product Sans", "M PLUS 1", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 1rem;
    position: relative;
}

html, body {
    width: 100%;
    height: 100vh;
    margin: 0;
    background-color: #1b1811;
    color: #f0ebe3/*1b1811*/;
    scrollbar-width: none;
}

html.safari, body.safari {
    height: 100%;
}

.loader {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
    transition: .2s;
    will-change: auto;
    z-index: 3;
}

.loader.will {
    will-change: contents, opacity, transform;
}

.loader.dis {
    opacity: 0;
    visibility: hidden;
    transition: .2s;
}

.background-color, .background-default {
    position: fixed;
    width: 100%;
    height: 100%;
}

.background-default {
    background-color: #1b1811;
    opacity: 0;
    transition: .25s ease-out;
}

.background-default.act {
    opacity: 1;
}

.background {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(1.3);
    transition: 2s ease-in-out;
    opacity: 0;
}

.background.act {
    opacity: 1;
    filter: brightness(0.4);
    transform: scale(1);
    transition: 2s ease-in-out;
}

.background.act.fast {
    transition: .3s ease-out;
}

.background.act.fast.dis {
    filter: brightness(.2);
    transition: .3s ease-out;
}

.background.black {
    filter: brightness(.1) !important;
}

.background-border.act {
    position: fixed;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0px 0px #f0ebe3;
    transition: .5s ease-out;
}

.background-border {
    position: fixed;
    width: 100%;
    height: 100vh;
    box-shadow: inset 0 0 0px 15px #f0ebe3;
    transition: .5s ease-out;
}

.background-border.safari {
    height: 100%;
}

.header {
    position: fixed;
    width: 100%;
    text-align: center;
    padding: 10px 0;
}

.alert {
    position: fixed;
    height: 100%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #00000080;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 1;
    visibility: visible;
    transition: all .4s ease;
}

.alert.dis {
    opacity: 0;
    visibility: hidden;
    transform: scale(.9);
    transition: all .4s ease;
}

.alert-wrap {
    padding: 30px !important;
    flex-direction: column;
    align-items: center;
}

.alert-title {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    font-family: "Inter", "M PLUS 1", "Toss Product Sans" !important;
}

.alert-desc {
    text-align: center;
    font-family: "Inter", "M PLUS 1", "Toss Product Sans" !important;
}

.alert-button-wrap {
    width: 100%;
}

.alert-button {
    text-align: center;
    overflow: hidden;
    line-height: 0px;
    padding: 0 15px;
    height: 40px;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.alert-button.act {
    cursor: pointer;
    margin-left: 15px;
    transition: color 0.3s;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.alert-en > .alert-wrap > .alert-button-wrap > .alert-button.act {
    font-size: 1rem;
}
  /* :before를 이용해 배경 채우기 효과 */
.alert-button.act::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;  /* 초기에는 0% width */
    background: #f0ebe340;
    z-index: -1; /* 버튼 텍스트 뒤에 위치 */
    transition: width var(--fill-duration, 5s) linear;
}
  /* fill 클래스를 추가하면 :before의 width가 100%로 전환되어 채워짐 */
.alert-button.act.fill::before {
    width: 100%;
}

.section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .25s ease-out;
    animation-timing-function: cubic-bezier(1, 0, 0.8, 1);
    scrollbar-width: none;
    overflow-y: scroll;
}

.section.safari {
    height: 100%;
}

.section.dis {
    opacity: 0;
    transform: scale(.9);
    transition: .25s ease-out;
    animation-timing-function: cubic-bezier(1, 0, 0.8, 1);
}

.section.smalldis {
    opacity: 0;
    transform: scale(.975);
    transition: .15s ease-out;
    animation-timing-function: cubic-bezier(1, 0, 0.8, 1);
}

.section.height {
    justify-content: flex-start;
}

.content {
    display: flex;
    align-items: center;
    flex-direction: column;
    opacity: 1;
    transition: .3s;
    width: 100%;
    scrollbar-width: none;
}

.content.dis {
    opacity: 0;
    transition: .3s;
}

.section.height > .content {
    display: block;
}

.content.height {
    height: 100%;
}

.content.info {
    opacity: 1;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .2s;
}

.content.info.dis {
    display: none;
}

.activate-fix {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.activate-wrap, .alert-wrap {
    padding: 30px 30px 56px 30px;
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.activate {
    padding: 10px 20px;
    background: rgba(62,240,252,0.3);
    background: radial-gradient(circle,rgba(255,162,249,0.2) 10%, rgba(62,240,252,0.3) 100%);
    border-radius: 30px;
    border: solid 1px;
    border-color: #f0ebe340;
    box-shadow: 0 0 10px 0 #f0ebe350 inset;
    cursor: pointer;
    transition: all .5s ease;
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 100%;
    max-width: 180px;
    overflow: hidden;
}

.activate-wrap.fast {
    display: none;
}

.activate.dis {
    transform: scale(1.5);
    opacity: 0;
    visibility: hidden;
    transition: all .5s ease;
}

.activate-head {
    display: flex;
    align-items: center;
    justify-content: center;
}

.activate-head.ask {
    justify-content: space-between;
}

.activate-sub {
    text-align: center;
    font-size: 1.05rem;
    height: 0px;
    transition: .8s ease;
}

.activate-title {
    font-weight: 500;
    margin: 30px 0 5px;
    opacity: 1;
    color: #f0ebe3d8;
    font-size: .975rem;
    font-family: "Toss Product Sans", "M PLUS 1" !important;
    transition: .8s ease;
}

.activate-desc {
    opacity: 1;
    font-size: .975rem;
    padding: 0 3px;
    line-height: 1.3em;
    color: #f0ebe3a7;
    font-family: "Toss Product Sans", "M PLUS 1" !important;
    transition: .8s ease;
}

.hidden {
    height: 0px !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    filter: blur(20px) !important;
    transition: all .4s ease !important;
}

.hidden-noheight {
    overflow: hidden !important;
    margin: 0 0 0 -20px !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    filter: blur(5px) !important;
    transition: all .4s ease !important;
}

.activate.mid {
    filter: blur(2px);
    transition: all .5s ease;
}

.activate.expand {
    max-width: 100%;
    background: rgba(67, 67, 67, 0.3);
    padding: 15px;
    cursor: default;
    transition: all .5s ease;
}

.activate:hover {
    background: rgba(62,240,252,0.3);
    box-shadow: 0 0 20px 0 #f0ebe350 inset;
    transform: scale(1.1);
    transition: all .5s ease;
}

.activate.expand:hover {
    transform: scale(1);
    box-shadow: 0 0 10px 0 #f0ebe350 inset;
    background: rgba(67, 67, 67, 0.3);
}

.act-button-wrap, .alert-button-wrap {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.act-button, .alert-button {
    width: 100%;
    background: #f0ebe320;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 0 10px 0 #f0ebe350 inset;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.a-b-activate {
    margin-left: 15px;
    background: radial-gradient(circle,rgba(255,162,249,0.2) 10%, rgba(62,240,252,0.3) 100%);
}

.in-content {
    will-change: filter;
}

.oura-logo {
    width: 17px;
    margin-right: 10px;
}

.oura-logo.checked {
    width: 22px;
}

.activate-text {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.ask-text {
    font-size: 1rem;
    opacity: 1;
    color: #f0ebe3d8;
    font-family: "Toss Product Sans", "M PLUS 1" !important;
    transition: .8s ease;
}

.ask-logo {
    height: 15px;
    margin-left: 20px;
}

.alter-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.alter.dis, .blick.dis, .oura.dis {
    display: none;
}

.typo-text {
    width: 135px;
}

.sv-logo {
    width: 40px;
    margin-bottom: 5px;
}

.border {
    border: solid;
    border-width: 0px 1px 0 0;
    height: 30px;
    margin: 20px 15px;
    transform: rotate(-10deg);
}

.sv-border {
    border: solid;
    border-width: 1px 0px 0 0;
    width: 10px;
    margin: 15px 15px;
}

.desc {
    font-weight: 500;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .9rem;
    text-align: center;
    line-height: 14px;
    color: #f0ebe3b5;
    font-style: italic;
}

.sv-desc, .sv-url {
    font-weight: 500;
    font-family: "Toss Product Sans", "M PLUS 1", "Toss Product Sans" !important;
    text-transform: capitalize;
    font-size: .75rem;
    text-align: center;
    line-height: 14px;
    color: #f0ebe3a2;
}

.sv-url {
    color: #f0ebe3;
    cursor: pointer;
    margin-top: 5px;
}

.sv-url:hover {
    text-decoration: underline;
}

.dock {
    position: fixed;
    top: 35px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: .5s ease-out;
    z-index: 3;
}

.dock.dis {
    opacity: 0;
    transition: .5s ease-out;
}

.dock.down {
    top: 20px;
}

.dock-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    /*background-color: transparent;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 30px;
    border: solid;
    border-width: 1px;
    border-color: #f0ebe320;*/
    color: #f0ebe3;
}

.dock-wrap.dis {
    display: none;
}

.dock-wrap-oura {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 5px 30px;
    color: #f0ebe3;
    width: 100%;
    max-width: 500px;
    min-width: 200px;
}

.dock-wrap-oura.act {
    display: flex;
}

.dock-button {
    padding: 5px 10px;
    border-radius: 20px;
    cursor: pointer;
    border: solid;
    border-width: 1px;
    border-color: #f0ebe330;
    transition: .2s;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.dock-button:hover {
    background-color: #f0ebe320;
    transition: .2s;
}

.dock-button-right {
    display: flex;
    align-items: center;
    margin: 0;
}

.d-b-oura-logo {
    display: flex;
    cursor: pointer;
}

.d-b-oura-title {
    background: transparent;
    border: none;
    font-weight: 600;
    font-size: 1.4rem;
    padding: 0;
    margin: 0 3px;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.d-b-oura-select {
    width: 18px;
}

.d-b-main, .d-b-oura {
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.d-b-oura {
    margin: 0;
    width: 35px;
    height: 35px;
    padding: 5px;
    background: transparent;
}

.switch-wrap {
    display: flex;
    align-items: center;
}

.oura-switch {
    position: fixed;
    margin-top: 40px;
    z-index: 0;
    border-color: #f0ebe320;
    background: #f0ebe310;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    cursor: default;
    margin-left: -11px;
    opacity: 1;
    visibility: visible;
    transition: all .4s ease;
}

.oura-switch-close {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}

.switch-button, .switch-option {
    cursor: pointer;
    padding: 13px 15px;
    transition: .2s;
}

.switch-button {
    border-radius: 20px 20px 0 0;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.switch-option {
    border-radius: 0 0 20px 20px;
}

.switch-button:hover, .switch-option:hover {
    background: #f0ebe310;
    transition: .2s;
}

.switch-border {
    width: 100%;
    border: solid;
    border-width: 1px 0 0 0;
    border-color: #f0ebe320;
}

.switch-option {
    display: flex;
    align-items: center;
}

.switch-option-name {
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.switch {
    position: relative;
    display: inline-block;
    width: 35px;
    height: 20px;
    margin-left: 20px;
}

/* 기본 체크박스는 숨김 처리 */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* 스위치 배경 (슬라이더) */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f0ebe380; /* off 상태 색상 */
    transition: background-color 0.2s;
    border-radius: 31px;
}

/* 키보드 포커스 시 효과 (접근성 강화) */
.switch input:focus + .slider {
    box-shadow: 0 0 1px #f3951910;
}

/* 스위치 내부의 원 (thumb) */
.slider::before {
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    left: 2px;
    bottom: 2.5px;
    background-color: #fff;
    transition: transform 0.2s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* 체크된 상태에서 배경색 변경 (on 상태) */
.switch input:checked + .slider {
    background-color: #f39519; /* Apple의 green */
}

/* 체크된 상태에서 thumb 위치 이동 */
.switch input:checked + .slider::before {
    transform: translateX(15px);
}

.d-b-logo {
        width: 17px;
        position: absolute;
        animation: rotate 15s linear infinite;
}

.d-b-logo-oura {
        width: 20px;
        position: absolute;
}

.d-b-logo-oura-close {
    width: 21px;
    position: absolute;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.dock-button.act {
    background-color: #f0ebe340; 
    font-weight: 600;
    transition: .2s;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.photo {
    position: fixed;
    bottom: 35px;
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    opacity: 1;
    visibility: visible;
    transition: .5s ease-out;
    z-index: 2;
}

.photo.dis {
    opacity: 0;
    visibility: hidden;
    transition: .5s ease-out;
}

.photo.down {
    bottom: 20px;
}

.photo-title, .photo-desc {
    font-size: .8rem;
    font-family: "ClashGrotesk-Variable", "M PLUS 1", "Toss Product Sans" !important;
}

.photo-title {
    line-height: 0px;
}

.photo-desc {
    font-weight: 500;
    margin-left: 5px;
    text-transform: uppercase;
    cursor: pointer;
}

.photo-desc:hover {
    text-decoration: underline;
}