.sky {
    background: var(--sky) !important;
}

#preloader {
    background: var(--back2) url('/css/rolling-dots.gif') no-repeat center center;
    bottom: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99999;
}

/* ---------- Холст ---------- */
.margin {
	padding-bottom: 3px;
}

.canvas_f,
.canvas {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    gap: 30px;
}

.canvas {
    padding: 0px 10px 190px;
}

.canvas_f {
    padding: 0px 0px 190px;
}

.canvas_title_inner,
.canvas_title {
    display: flex;
    max-width: 900px;
    align-items: flex-start;
    flex-direction: column;
}

.canvas_title {
    padding-top: 25px;
    width: 100%;
}

.canvas_title_inner {
    padding: 70px 0 0;
    width: -webkit-fill-available;
    justify-content: space-between;
}

/* ---------- Окна ---------- */
.window_f {
    max-width: 400px;
}

.window_s {
    max-width: 290px;
}

.window_f,
.window_s {
    display: flex;
    width: 100%;
    flex-direction: column;
    box-sizing: border-box;
    background: var(--window);
    border: var(--window-border);
    border-radius: 25px;
    z-index: 2;
    padding: 20px;
}

/* ---------- Кнопки 45 и 60 ---------- */
.submit_button,
.submit_button_link,
.submit_button_link:visited {
    background: var(--button-ok);
    color: #ffffff;
}

.search_button,
.search_button_link,
.search_button_link:visited {
    background: var(--button-go);
    color: #ffffff;
}

.signup_button,
.signup_button_link,
.signup_button_link:visited {
    background: var(--button-reg);
    color: #ffffff;
}
.back_button,
.back_button_link,
.back_button_link:visited {
    background: var(--button-back);
    color: #ffffff;
}

/* К-45 */
.signup_button_link,
.submit_button_link,
.back_button_link,
.search_button_link {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    align-content: center;
    flex: 1;
    height: 45px;
    color: var(--button-text);
    min-width: 115px;
}

/* К-60 */
.submit_button,
.signup_button,
.back_button,
.search_button {
    padding: 8px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    text-align: center;
    align-content: center;
    flex: 1;
    height: 60px;
    color: var(--button-text);
    min-width: 115px;
}

/* К-меню */
.button_menu {
    display: flex;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-content: center;
    justify-content: center;
    padding: 10px 0;
    width: 100%;
}

.button_menu_text {
    display: flex;
    position: relative;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    font-size: 14px;
    margin-top: 5px;
    text-decoration: underline;
}

/* Другие кнопки */
.button_addpost {
    display: flex;
    width: 50px;
    border-radius: 30px;
    height: 50px;
    justify-content: space-evenly;
    align-items: center;
    color: var(--back-global);
    font-size: 25px;
    animation: heartbeat-1 2000ms cubic-bezier(0.455, 0.03, 0.515, 0.955) 1000ms 1 normal;
    margin: auto;
    box-shadow: var(--lila-sh);
    background: var(--button-go);
}

.button_reset_map,
.button_activate_map {
    background: var(--button-reg);
    color: var(--button-text);
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
    font-size: 18px;
    height: 90px;
    font-weight: bold;
}

.button_reset_map:hover,
.button_activate_map:hover {
    opacity: 0.5;
}

.button_reset_map {
    display: none;
}

.btn {
    background: var(--button-go);
    color: var(--button-text);
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    min-height: 45px;
    font-weight: bold;
    align-content: center;
    text-align: center;
    width: 100%;
}

.btn:hover {
    opacity: 0.5;
}

/* ---------- Горы ---------- */
#mountain-container {
    width: 110%;
    height: 200px;
    position: fixed;
    display: flex;
    align-items: flex-end;
    bottom: 0;
}

#mountainCanvas {
    width: 100%;
    height: 100%;
}

/* ---------- Поле ввода текста ---------- */
.text_input,
.text_input_c,
.text_input_date,
.text_input_resize {
    border-radius: 15px;
    font-family: unset;
    font-size: 17px;
    margin: 0 0 10px;
    padding: 10px 15px;
    box-sizing: border-box;
    width: 100%;
    resize: none;
    border: var(--window-border-li);
    color: var(--text0);
    align-content: center;
}

.text_input {
    background: var(--window-li);
    height: 45px !important;
}

.text_input_c {
    background: var(--text-back-c);
    margin-top: 4px;
    height: 45px !important;
}

.text_input_date {
    background: var(--window-li);
    outline: none;
    appearance: none;
    height: 45px !important;
}

.text_input_resize {
    background: var(--window-li);
    line-height: 1.2;
    min-height: 45px;
}

.text_input:focus {
    border-color: var(--active-text-input);
    outline: 0;
}

/* ---------- Карта (Яндекс) ---------- */
.ymaps-2-1-79-inner-panes {
    background: var(--back-global);
}

.ymaps-2-1-79-user-selection-none {
    filter: var(--map-filt);
}

.ymaps-2-1-79-balloon_layout_panel {
    filter: var(--map-balloon-filt);
}

/* ---------- Инфо / заголовки ---------- */
.info-title {
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.info-text {
    font-size: 16px;
    font-weight: normal;
    margin: 0 0 20px;
    text-align: left;
}

.page-title {
    color: var(--title-page);
    text-align: center;
    font-size: 25px;
    line-height: 1.1;
    margin: 0 15px -5px;
    align-self: center;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
}

.page-title-big {
    color: var(--title-page-big);
    text-align: left;
    font-size: 50px;
    line-height: 1.1;
    margin: 0 15px;
    align-self: center;
    width: 100%;
    max-width: 345px;
    box-sizing: border-box;
    z-index: 2;
	text-shadow: var(--shadow);
}

@keyframes heartbeat-1 {
    0% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(0deg) scale(1.2, 1.2);
    }
    25% {
        transform: rotate(0deg) scale(1.1, 1.1);
    }
    35% {
        transform: rotate(0deg) scale(1.2, 1.2);
    }
    100% {
        transform: rotate(0deg) scale(1, 1);
    }
}

/* ---------- Аватары (крупные) ---------- */
.avatar-containerbig {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.avatar-imgbig {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ---------- Инфо о профиле ---------- */
.profile-info {
    text-align: center;
    margin-bottom: 20px;
}

.profile-username {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0 5px;
}

.profile-share {
    gap: 5px;
    display: flex;
    justify-content: center;
    text-align: center;
}

.profile-fullname {
    font-size: 16px;
    color: var(--text2);
    padding-bottom: 5px;
    display: flex;
    justify-content: center;
    text-align: center;
}

/* ---------- Cookie-уведомление ---------- */
.cookie-notice {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 9999;
    box-sizing: border-box;
    max-width: 440px;
    margin: 0;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    background: var(--tl-surface);
    color: var(--tl-ink-2);
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-r-m);
    box-shadow: var(--tl-shadow-2);
    opacity: 1;
}

.cookie-notice p {
    margin: 0;
    padding: 0;
    line-height: 1.45;
    font-size: 13px;
}

.cookie-notice-buttons {
    display: flex;
    gap: 8px;
    margin: 0;
}

.cookie-notice .submit_button,
.cookie-notice .signup_button {
    height: 40px;
    min-width: 0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}
.cookie-notice .submit_button { background: var(--tl-ink); color: var(--tl-surface); }
.cookie-notice .signup_button { background: var(--tl-surface-2); color: var(--tl-ink); }

@media (min-width: 720px) {
    .cookie-notice { left: 20px; right: auto; bottom: 20px; }
}
