/* suika/index.html 전용 스타일 (밝은 톤 + 브랜드 포인트: 민트 + 골드) */
.sk-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #fff8ea 0%, #ffecc7 100%);
    color: #2b2b45;
    font-family: 'Baloo 2', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    display: flex;
    justify-content: center;
    padding: 24px 16px 40px;
    box-sizing: border-box;
}
.sk-page *, .sk-page *::before, .sk-page *::after {
    box-sizing: border-box;
}

.sk-wrap {
    width: 100%;
    max-width: 900px;
}

.sk-back {
    display: inline-block;
    color: #8a7a5c;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 16px;
}
.sk-back:hover { color: #2b2b45; }

.sk-title {
    font-size: 30px;
    font-weight: 800;
    text-align: center;
    color: #1a1a2e;
    margin: 0 0 56px;
}

.sk-layout {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.sk-side {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.sk-bubble {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #ffffff 0%, #fff3de 70%);
    border: 3px solid #2fceA0;
    box-shadow: 0 6px 18px rgba(120,90,40,0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
}

.sk-bubble-label {
    font-size: 12px;
    color: #9a8b6f;
    font-weight: 600;
}

.sk-bubble-value {
    font-size: 28px;
    font-weight: 800;
    color: #1fae87;
    line-height: 1.2;
}

.sk-bubble-sub {
    font-size: 10px;
    color: #a99a7c;
    margin-top: 4px;
}

.sk-bubble-best {
    font-size: 15px;
    font-weight: 700;
    color: #ff9d00;
}

.sk-next-canvas {
    display: block;
}

.sk-rank-panel {
    width: 100%;
    background: #ffffff;
    border: 3px solid #ffe2ad;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 6px 16px rgba(120,90,40,0.12);
}

.sk-rank-title {
    font-size: 13px;
    font-weight: 700;
    color: #ff9d00;
    text-align: center;
    margin-bottom: 10px;
}

.sk-rank-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    background: #fff3de;
    border-radius: 10px;
    padding: 3px;
}

.sk-rank-tab {
    flex: 1 1 auto;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    color: #a99a7c;
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 6px 4px;
    cursor: pointer;
}
.sk-rank-tab-active {
    background: #2fceA0;
    color: #ffffff;
}

.sk-rank-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.9;
}
.sk-rank-list li {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    color: #4a4a5e;
    border-bottom: 1px dashed #f0e2c4;
    padding-bottom: 3px;
}
.sk-rank-list li:nth-child(1) { color: #e0a400; font-weight: 700; }
.sk-rank-list li:nth-child(2) { color: #8a8aa0; font-weight: 700; }
.sk-rank-list li:nth-child(3) { color: #c98a4b; font-weight: 700; }
.sk-rank-empty { color: #b6a888; justify-content: center !important; }
.sk-rank-name {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sk-board-area {
    position: relative;
    flex: 0 0 auto;
}

.sk-dropper {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 108px;
    height: auto;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 6px 10px rgba(120,90,40,0.3));
    transition: left 0.03s linear;
}

.sk-canvas {
    display: block;
    background: #fbeecb;
    border: 6px solid #ffb64d;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(120,90,40,0.28);
}

.sk-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,248,234,0.94);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
}
.sk-hidden { display: none; }

.sk-overlay-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.sk-overlay-title {
    font-size: 24px;
    font-weight: 800;
    color: #ff9d00;
    margin: 0;
}

.sk-overlay-text {
    font-size: 13px;
    line-height: 1.8;
    color: #6b6b7e;
    margin: 0;
}

.sk-btn {
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    background: #2fceA0;
    border: none;
    border-radius: 999px;
    padding: 10px 26px;
    cursor: pointer;
    box-shadow: 0 4px 0 #1fae87;
}
.sk-btn:hover { background: #38e0af; }
.sk-btn:active { box-shadow: 0 1px 0 #1fae87; transform: translateY(3px); }

.sk-name-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.sk-name-label {
    font-size: 11px;
    color: #a99a7c;
}
.sk-name-input {
    font-family: inherit;
    font-size: 13px;
    padding: 8px 14px;
    background: #ffffff;
    border: 2px solid #ffe2ad;
    border-radius: 999px;
    color: #2b2b45;
    text-align: center;
    width: 180px;
}
.sk-name-input:focus {
    outline: none;
    border-color: #2fceA0;
}

.sk-save-msg {
    font-size: 11px;
    color: #1fae87;
    min-height: 14px;
    margin: 0;
}

@media (max-width: 780px) {
    .sk-layout { flex-direction: column; align-items: center; }
    .sk-side { flex-direction: row; flex: 0 0 auto; width: 100%; max-width: 480px; justify-content: center; }
    .sk-side-left { flex-wrap: wrap; }
    .sk-rank-panel { width: 148px; }
}

@media (max-width: 520px) {
    .sk-canvas { width: 100%; height: auto; max-width: 480px; }
    .sk-side-left { flex-direction: column; align-items: center; }
    .sk-rank-panel { width: 100%; max-width: 300px; }
}
