/* -----------------------------------------------------------
   Base Styles
----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #111; 
    color: white;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    overscroll-behavior: none;
}

#app {
    position: relative;
    width: 100vw;
    height: calc(var(--vh, 1vh) * 100);
    max-width: 720px;
    background: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* -----------------------------------------------------------
   Navigation
----------------------------------------------------------- */
#navbar {
    height: 60px;
    background: #240046; /* 헤더 배경: 짙은 보라색 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 15px;
    z-index: 1000;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-left {
    display: flex;
    align-items: center;
}

.nav-left h1 {
    font-size: 20px;
    /* [수정] 보라색 톤 그라데이션으로 변경 */
    background: linear-gradient(45deg, #7518BF, #d8bfd8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
}

.nav-right {
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 1;
}

.nav-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
}
.nav-btn:hover { background: rgba(255,255,255,0.2); }

.nav-btn-icon {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: white;
}

.profile-icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-icon-btn svg {
    width: 32px;
    height: 32px;
    fill: #ccc;
    transition: fill 0.2s;
}
.profile-icon-btn:hover svg { fill: white; }

#challenge-navbar {
    height: 50px;
    background: #240046; /* 챌린지바도 보라색 톤으로 통일 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 1100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-shrink: 0;
}
.back-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
}
#challenge-title-header { font-size: 16px; color: white; font-weight: bold; }

/* -----------------------------------------------------------
   Main Content & Tabs
----------------------------------------------------------- */
#main-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000;
}

.tab-content {
    display: none;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: #000;
}
.tab-content.active { display: block; }

/* Video Player */
#video-container {
    width: 100%;
    height: 100%;
    overflow: hidden; 
    position: relative;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
}
video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}
.video-wrapper.active video { opacity: 1; transition: opacity 0.4s ease; }
.video-wrapper:not(.active) video { opacity: 0.3; transition: opacity 0.4s ease; }

.loading-spinner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255,255,255,0.3);
    /* [수정] 로딩 스피너 포인트 컬러 변경 */
    border-top: 5px solid #7518BF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 20;
    pointer-events: none;
}
@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Overlay UI */
#play-pause-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#play-icon {
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
    animation: fadeOut 0.6s forwards;
}
@keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; } }

/* Creator Controls */
.creator-controls {
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.control-btn {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    cursor: pointer;
}
.control-btn.btn-danger { color: #ff4444; border-color: rgba(255,68,68,0.5); }

#sidebar {
    position: absolute;
    right: 15px;
    bottom: 30px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.action-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: transform 0.2s;
}
.action-btn:hover { transform: scale(1.1); }
.action-btn svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.action-count { font-size: 12px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }

/* [수정] 좋아요 눌렀을 때 색상 변경 */
.action-btn.liked svg { fill: #7518BF; stroke: #7518BF; }
.action-btn.muted svg { fill: #999; }
/* [삭제] 텍스트 (Off) 표시 스타일 삭제 */

/* [NEW] 볼륨 컨트롤 스타일 - 세로형 & 마우스 오버 개선 */
.volume-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-slider-container {
    display: none; /* 기본 숨김 */
    position: absolute;
    bottom: 0; /* 아이콘을 감싸도록 위치 조정 */
    left: 50%;
    transform: translateX(-50%);
    width: 40px; /* 아이콘 너비에 맞춤 */
    height: 160px; /* 아이콘 포함한 전체 높이 */
    /* [수정] 반투명 검은색 배경 (유튜브 스타일) */
    background: rgba(0, 0, 0, 0.8);
    border-radius: 20px; /* 둥근 모서리 */
    /* [수정] 플렉스 정렬 조정 */
    display: none; /* hover 시 flex로 변경 */
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 위에서부터 배치 */
    padding-top: 20px;
    z-index: 5; /* 아이콘 뒤가 아니라 위를 덮을 수도 있음, 상황에 따라 조정 */
    animation: fadeInVertical 0.2s ease-out;
    backdrop-filter: blur(4px); /* 블러 효과 추가 */
}

/* 호버 시 아이콘 위로 슬라이더 컨테이너가 나타나며 아이콘도 감쌈 */
/* 실제로는 구조상 컨테이너가 아이콘 위에 그려지면 아이콘 클릭이 안될 수 있으므로
   아이콘은 z-index를 높이거나, 컨테이너 안에 아이콘을 복제해서 넣는 방식이 아니면
   컨테이너를 아이콘 뒤(`z-index: -1`)로 보내고 크기를 키우는 방식 사용 */
   
/* 여기서는 컨테이너를 아이콘 '위쪽'에 배치하되, 
   마우스가 이동해도 끊기지 않게 패딩으로 연결하고 배경을 입히는 방식 적용 */

.volume-slider-container {
    bottom: 45px; /* 아이콘 바로 위 */
    height: 120px;
    padding-bottom: 20px; /* 아이콘과의 간격 메우기 */
    margin-bottom: -10px;
    
    /* [수정] 아이콘까지 감싸는 듯한 시각적 효과를 위해 */
    /* 실제로는 아이콘 별도, 슬라이더 별도지만, 
       배경색을 통일하거나 가까이 붙여서 연출 */
    background: rgba(0, 0, 0, 0.8); 
}

/* PC 환경 (Hover 지원)에서만 표시 */
@media (hover: hover) and (pointer: fine) and (min-width: 769px) {
    .volume-control-wrapper:hover .volume-slider-container {
        display: flex;
    }
}

/* 모바일 환경에서는 항상 숨김 (기존 유지) */
@media (hover: none), (pointer: coarse), (max-width: 768px) {
    .volume-slider-container {
        display: none !important;
    }
}

#volume-slider {
    /* 세로 슬라이더 스타일링 */
    width: 80px; /* 회전시킬 것이므로 width가 세로 길이가 됨 */
    height: 4px;
    background: rgba(255, 255, 255, 0.3); /* 트랙 색상 반투명 */
    border-radius: 2px;
    -webkit-appearance: none;
    cursor: pointer;
    transform: rotate(-90deg); /* 90도 회전하여 세로로 */
    margin-top: 40px; /* 회전 중심축 고려하여 위치 조정 */
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px; height: 12px;
    background: #7518BF; /* 보라색 썸 */
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

@keyframes fadeInVertical {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}


.video-creator-avatar {
    width: 45px; height: 45px;
    border-radius: 50%;
    background: #333;
    border: 2px solid white;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.video-creator-avatar img { width: 100%; height: 100%; object-fit: cover; }

#video-info {
    position: absolute;
    bottom: 30px;
    left: 20px;
    z-index: 100;
    max-width: 70%;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
    pointer-events: none;
}
#creator-name { font-size: 17px; font-weight: 700; margin-bottom: 6px; cursor: pointer; pointer-events: auto; }
#video-title { font-size: 15px; line-height: 1.4; }

/* -----------------------------------------------------------
   Bottom Navigation
----------------------------------------------------------- */
#bottom-nav {
    height: 60px;
    background: #240046;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    flex-shrink: 0;
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: content-box;
}

.nav-item {
    background: none;
    border: none;
    color: #aaa;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 5px;
    width: 100%;
    transition: color 0.2s;
}
.nav-item.active { color: white; }
.nav-icon { font-size: 24px; margin-bottom: 2px; }
.nav-label { font-size: 10px; font-weight: 500; }

/* -----------------------------------------------------------
   Sub Tabs & Lists
----------------------------------------------------------- */
.sub-tabs {
    display: flex;
    border-bottom: 1px solid #333;
    background: #111;
    position: sticky;
    top: 0;
    z-index: 10;
}
.sub-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    color: #666;
    font-size: 15px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
}
.sub-tab.active {
    color: white;
    border-bottom: 2px solid white;
    font-weight: bold;
}
.sub-tab-view { display: none; padding: 15px; }
.sub-tab-view.active { display: block; }

.challenge-card {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    border: 1px solid #333;
    transition: background 0.2s;
}
.challenge-card:hover { background: #252525; }
.card-icon { font-size: 32px; }
.card-info h3 { font-size: 16px; margin-bottom: 4px; color: white; }
.card-info p { color: #aaa; font-size: 13px; }

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.grid-item {
    aspect-ratio: 9/16;
    background: #222;
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
}
.status-badge {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}
.grid-title {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    padding: 6px 4px;
    font-size: 11px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.center-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 400px;
    text-align: center;
    color: #888;
    gap: 20px;
}

/* -----------------------------------------------------------
   Shared Modal Styles
----------------------------------------------------------- */
.modal-backdrop {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-dialog {
    width: 90%;
    max-width: 400px;
    max-height: 90%;
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: zoomIn 0.2s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.layer-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #333;
    background: #222;
}
.layer-title { font-size: 16px; font-weight: bold; color: white; }
.close-btn { background: none; border: none; color: #999; font-size: 20px; cursor: pointer; padding: 0 5px; }
.close-btn:hover { color: white; }

/* Auth & Form */
.auth-container { padding: 20px; overflow-y: auto; flex: 1; }
.auth-tabs { display: flex; gap: 20px; margin-bottom: 25px; border-bottom: 2px solid #333; }
.auth-tab {
    padding: 10px 10px; background: none; border: none; font-size: 16px; font-weight: 600;
    color: #666; cursor: pointer; position: relative;
}
.auth-tab.active { color: white; }
/* [수정] 탭바 하단 라인 보라색 */
.auth-tab.active::after {
    content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: #7518BF;
}

.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 8px; font-weight: 500; color: #ccc; font-size: 14px; }
input, select {
    width: 100%; padding: 12px;
    background: #222; border: 1px solid #444; border-radius: 8px;
    color: white; font-size: 15px;
}
/* [수정] 입력창 포커스 색상 보라색 */
input:focus, select:focus { outline: none; border-color: #7518BF; }

.btn-full {
    width: 100%; padding: 14px; 
    /* [수정] 메인 버튼 색상 보라색 */
    background: #7518BF;
    border: none; border-radius: 8px; color: white;
    font-size: 16px; font-weight: 700; cursor: pointer;
}
.btn-primary { background: #7518BF; }
.btn-secondary { background: #444; }

.role-selector { display: flex; gap: 10px; margin-bottom: 20px; }
.role-option {
    flex: 1; padding: 15px; border: 2px solid #333; border-radius: 8px;
    text-align: center; cursor: pointer; background: #222;
}
/* [수정] 선택된 역할 테두리 및 배경색 보라색 계열 */
.role-option.selected { border-color: #7518BF; background: rgba(138, 43, 226, 0.1); }
.role-desc { font-size: 11px; margin-top: 5px; color: #888; }
.info-box {
    background: #222; border: 1px solid #444; border-radius: 8px;
    padding: 15px; margin-bottom: 20px; font-size: 14px; color: #ccc; text-align: center;
}

/* Upload */
.upload-container { padding: 20px; overflow-y: auto; flex: 1; }
.upload-zone {
    border: 2px dashed #444; border-radius: 12px; padding: 40px 20px;
    text-align: center; cursor: pointer; margin-bottom: 20px; background: #222;
}
/* [수정] 업로드 존 호버 색상 보라색 */
.upload-zone:hover { border-color: #7518BF; background: #2a2a2a; }
.upload-icon { font-size: 32px; margin-bottom: 10px; }
.upload-text { font-size: 15px; font-weight: bold; margin-bottom: 5px; }
.upload-subtext { color: #666; font-size: 12px; }
.upload-banner {
    background: #222; border: 1px dashed #555; border-radius: 8px;
    padding: 15px; text-align: center; margin-bottom: 20px;
    /* [수정] 텍스트 색상 보라색 */
    cursor: pointer; color: #7518BF; font-weight: bold; font-size: 14px;
}

.file-selected {
    background: #222; border: 1px solid #444; border-radius: 8px;
    padding: 15px; margin-bottom: 20px;
}
.file-name { font-weight: bold; margin-bottom: 5px; word-break: break-all; font-size: 14px; }
.file-size { font-size: 12px; color: #888; }

.progress-bar {
    width: 100%; height: 6px; background: #333; border-radius: 3px; overflow: hidden; margin-top: 10px;
}
/* [수정] 진행바 색상 보라색 */
.progress-fill { height: 100%; background: #7518BF; width: 0%; transition: width 0.2s; }
.progress-text { text-align: right; font-size: 12px; margin-top: 5px; color: #7518BF; }

.login-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.login-card-icon { font-size: 48px; margin-bottom: 20px; display: block; }
.login-card h2 { font-size: 20px; margin-bottom: 10px; color: white; }
.login-card p { color: #888; font-size: 14px; margin-bottom: 30px; line-height: 1.5; }

/* Comment List */
.comment-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px 15px;
    background: #1a1a1a;
}
.comment-item {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
}
.comment-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: #333;
    flex-shrink: 0; display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.comment-body { flex: 1; }
.comment-nick { font-size: 13px; font-weight: bold; color: #ccc; margin-bottom: 2px; }
.comment-text { font-size: 14px; color: white; line-height: 1.4; }
.comment-meta { font-size: 11px; color: #666; margin-top: 4px; display: flex; gap: 10px; }
.reply-btn { color: #888; font-weight: 600; cursor: pointer; }
.reply-btn:hover { color: #ccc; }

.comment-reply {
    margin-left: 46px;
    margin-top: 10px;
    display: flex; gap: 10px;
}
.reply-avatar { width: 24px; height: 24px; }

.comment-input-area {
    padding: 10px 15px;
    border-top: 1px solid #333;
    background: #222;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
#reply-indicator {
    /* [수정] 답글 인디케이터 보라색 */
    font-size: 12px; color: #7518BF; margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between;
}
.close-reply { color: #888; cursor: pointer; padding: 0 5px; }
.input-wrapper { display: flex; gap: 10px; }
#comment-input {
    flex: 1; background: #333; border: none; padding: 10px 15px; border-radius: 20px; color: white; font-size: 14px;
}
#comment-input:focus { outline: none; background: #444; }
.send-btn {
    /* [수정] 전송 버튼 보라색 */
    background: none; border: none; color: #7518BF; font-weight: bold; font-size: 15px; cursor: pointer; padding: 0 5px;
}

/* Profile Layer */
.full-screen-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}
.profile-content { flex: 1; overflow-y: auto; }
.profile-header-section { padding: 30px 20px; text-align: center; background: #111; }
.profile-avatar-lg {
    width: 90px; height: 90px; border-radius: 50%; background: #333;
    margin: 0 auto 15px; overflow: hidden; border: 2px solid #222;
    display: flex; align-items: center; justify-content: center;
}
.profile-avatar-lg img { width: 100%; height: 100%; object-fit: cover; }
.profile-stats { display: flex; justify-content: center; gap: 40px; margin: 20px 0; }
.stat-box { display: flex; flex-direction: column; align-items: center; }
.stat-num { font-size: 18px; font-weight: bold; color: white; }
.stat-label { font-size: 12px; color: #888; margin-top: 4px; }

.btn-follow {
    padding: 8px 30px; border-radius: 20px; border: none;
    /* [수정] 팔로우 버튼 보라색 */
    background: #7518BF; color: white; font-weight: bold; font-size: 14px; cursor: pointer;
    margin: 0 auto; display: block;
}
.btn-follow.following { background: #333; border: 1px solid #555; color: #ccc; }
.grid-header { padding: 15px; font-weight: bold; border-top: 1px solid #222; }

/* Social List */
.social-header { padding: 20px; text-align: center; border-bottom: 1px solid #222; }
.social-list { padding: 10px; overflow-y: auto; flex: 1; }
.user-list-item {
    display: flex; align-items: center; padding: 12px; border-bottom: 1px solid #222; cursor: pointer;
}
.user-list-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: #333; margin-right: 15px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.user-list-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-list-info { flex: 1; }
.user-list-nick { font-weight: bold; font-size: 14px; color: white; }
.user-list-name { font-size: 12px; color: #888; margin-top: 2px; }

/* Profile Edit */
.profile-edit-avatar {
    width: 100px; height: 100px; border-radius: 50%; background: #333;
    margin: 0 auto; position: relative; cursor: pointer; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
}
.profile-edit-avatar img { width: 100%; height: 100%; object-fit: cover; }
.edit-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%; height: 30px;
    background: rgba(0,0,0,0.5); color: white; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
}

/* Mobile Optimization */
@media (max-width: 767px) {
    #navbar { height: 50px; }
    #bottom-nav { padding-bottom: calc(5px + env(safe-area-inset-bottom)); }
    #sidebar { right: 10px; bottom: 80px; }
    .action-btn svg { width: 35px; height: 35px; }
    .modal-dialog { width: 95%; max-height: 95%; border-radius: 12px; }
}

/* Action Sheet */
.action-sheet {
    width: 100%;
    max-width: 500px;
    background: #1a1a1a;
    border-radius: 16px 16px 0 0;
    padding: 20px;
    animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
.sheet-handle {
    width: 40px; height: 4px; background: #444; border-radius: 2px;
    margin: 0 auto 20px;
}
.sheet-btn {
    width: 100%; padding: 16px;
    background: none; border: none;
    color: white; font-size: 16px; font-weight: 500;
    text-align: left; cursor: pointer;
    border-bottom: 1px solid #333;
    display: flex; align-items: center; gap: 10px;
}
.sheet-btn:hover { background: #222; }
.sheet-btn.cancel {
    text-align: center; border-bottom: none; margin-top: 10px;
    font-weight: bold; background: #333; border-radius: 12px; justify-content: center;
}
.sheet-btn.danger { color: #ff4444; }