.camera-page {
    background: #000;
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: 100dvh;
}

/* --- Верхняя панель --- */
.camera-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 14px 12px;
    background: #000;
}

.camera-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    flex-shrink: 0;
}

.camera-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.3px;
}

/* --- Видоискатель --- */
.camera-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
    position: relative;
}

.camera-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Кнопка затвора --- */
.camera-shutter-row {
    display: flex;
    justify-content: center;
    padding: 16px 0;
    background: #000;
}

.camera-shutter {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #E05560;
    border: 5px solid #444;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s;
}

.camera-shutter:active {
    transform: scale(0.92);
}

/* --- Нижняя панель --- */
.camera-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 24px 24px;
    background: #000;
}

.camera-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #333;
    border: 2px solid #555;
    flex-shrink: 0;
}

.camera-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.camera-mode-switch {
    display: flex;
    background: #1a1a1a;
    border-radius: 20px;
    overflow: hidden;
}

.camera-mode {
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
}

.camera-mode.active {
    color: #E8C547;
    background: #2a2a2a;
}

.camera-switch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.camera-switch img {
    width: 40px;
    height: 40px;
}

html, body {
    background: #000000 !important;
}
