@font-face {
    font-family: 'play bold';
    src: url('/css/fonts/play-bold.eot');
    src: url('/css/fonts/play-bold.eot?#iefix') format('embedded-opentype'),
         url('/css/fonts/play-bold.woff') format('woff'),
         url('/css/fonts/play-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

}

@font-face {
    font-family: 'play';
    src: url('/css/fonts/play-regular.eot');
    src: url('/css/fonts/play-regular.eot?#iefix') format('embedded-opentype'),
         url('/css/fonts/play-regular.woff') format('woff'),
         url('/css/fonts/play-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'LigatureSymbols';
    src: url('fonts/LigatureSymbols-2.11.eot');
    src: url('fonts/LigatureSymbols-2.11.eot?#iefix') format('embedded-opentype'),
         url('fonts/LigatureSymbols-2.11.woff') format('woff'),
         url('fonts/LigatureSymbols-2.11.ttf') format('truetype');
    src: url('fonts/LigatureSymbols-2.11.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
body{
	    overflow: hidden;
}
/* icons */
.lsf, .lsf-icon:before {
  font-family: 'LigatureSymbols';
  -webkit-text-rendering: optimizeLegibility;
  -moz-text-rendering: optimizeLegibility;
  -ms-text-rendering: optimizeLegibility;
  -o-text-rendering: optimizeLegibility;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
  font-smoothing: antialiased;
}
.lsf-icon:before {
  content:attr(title);
  
  font-size:115%;
}

.lsf-icon.size-01{
	font-size: 100%;
}
.lsf-icon.size-02{
	font-size: 120%;
}
.lsf-icon.size-03{
	font-size: 130%;
}
.lsf-icon.size-04{
	font-size: 140%;
}
.lsf-icon.size-05{
	font-size: 150%!important;
}
.lsf-icon.size-06{
	font-size: 160%;
}

.lsf-icon.size-10{
	font-size: 1000%;
}

.no-padding{padding: 0 !important; }

.lsf-icon.pen:before {
  content: '\E09f';
}
.lsf-icon.add:before {
  content: '\E108';
}
.lsf-icon.friends:before {
  content: '\E05c';
}
.lsf-icon.search:before {
  content: '\E116';
}
.lsf-icon.users:before {
  content: '\E051';
}
.lsf-icon.tile:before {
  content: '\E129';
}
.lsf-icon.ellipsis:before {
  content: '\E043';
}
.lsf-icon.eye:before {
  content: '\E13a';
}
.lsf-icon.wrench:before {
  content: '\E117';
}
.lsf-icon.lock:before {
  content: '\E086';
  color: rgb(41, 41, 41);
}
.lsf-icon.unlock:before {
  content: '\E134';
}

.lsf-icon.help:before {
  content: '\E070';
}

.lsf-icon.dell:before {
  content: '\E12c';
}

.lsf-icon.logout:before {
  content: '\E088';
}

.lsf-icon.sync:before {
  content: '\E125';
}
.lsf-icon.up:before {
  content: '\E135';
}
.lsf-icon.move:before {
  content: '\E093';
}
.lsf-icon.close:before {
  content: '\E012';
}
.lsf-icon.file:before {
  content: '\E048';
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
}

.btn-default {
       background-color: #3eb742;
    color: #fff;
	font-size: 1.2em;
	box-shadow: 0px 0px 3px #545454;
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: none;
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.42857143;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	    border-radius: 0px;
		    width: 100%;
			font-family: play;
}

.btn-default:hover {
	color: #fff;
    background-color: #36b733;
	box-shadow: 0px 0px 3px #545454;
}

.btn-default:active{
	color: #fff;
	box-shadow: 0px 0px 1px #545454;
}

.btn-default:focus{
	color: #fff;
       background-color: #3e8ab7;
	border: none;
}

.btn-radio{
	 display:none;
}
.btn{
	border: none;
}
.btn:hover{
	border: none;
}

/* radio */

.radio_buttons input {
    position: absolute;
    left: -9999px;
}
.radio_buttons label {
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: none;
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 15px;
    line-height: 1.42857143;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
	border-radius: 0px;
	width: 100%;
}
.radio_buttons input:checked + label {
    background: #029e00;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, .2);
}

/* /radio */

.inpute-fast-edit{
	background: #4996c4;
    border: none;
    width: 100%;
    text-align: center;
    color: #fff;
	height: 33px;
}

.row_modal{margin:0px;}

.reval_header{
	background: #4996C4;
    font-family: monospace;
    font-size: 1.4em;
    color: #FFFFFD;
    text-align: center;
    border-bottom: 1px solid #3C7EA5;
	padding: 8px 0px;
	font-family: 'Caviar Dreams';
}

.btn-shadow{
	transition: box-shadow, .2s;
    transition: text-shadow, .2s;
	cursor: pointer;
}

.btn-shadow:hover{
	text-shadow: -6px 1px 12px #193444;
    box-shadow: inset -1px 0px 20px #0F364E;
}

.close_reval_md{
	background: #195980;
    position: inherit;
    color: #999;
    padding: 4px 30px;
    font-size: 1.3em;
    cursor: pointer;
    text-align: left;
    font-family: monospace;
	height: 33px;
}


.form-control {
	background: none;
    border: none;
    color: #888;
        border-bottom: 2px solid #f5f5f5;
    -webkit-appearance: none;
    -o-appearance: none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    -ms-appearance: none;
    appearance: none!important;
    transition: border-bottom-color, .4s;
    padding: 15px;
	border-radius: 0px;
	box-shadow: none;
	font-size: 1.3em;
}

.form-control:hover {
    outline: 0;
    box-shadow: none;
    border-bottom: 2px solid #8cd4ff;
}

.form-control:focus {
    outline: 0;
    box-shadow: none;
    border-bottom: 2px solid #4996C4;
}

.modal-content {
    position: relative;
    background-color: #FBFBFB;
   border: none;
    border-radius: 0px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    outline: 0;
}

.input-lg-modal-form {
    height: 40px;
    padding: 10px 16px;
    font-size: ;
    line-height: 1.33;
	font-family: 'Caviar Dreams';
}

.box_setting_bg{
	height: 200px;
	background-size: cover;
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: center;
}

.status_menu_01{
	display: inline;
}



.status_menu_02{
		display: flex;
	}



.menu_btn_tech{
	display: block;
}

#main_menu{

	position: absolute;
	background-color: #428bca;
	list-style: none;
	padding: 0;
	box-shadow: 1px 1px 8px rgba(18, 32, 43, 0.65);
	z-index: 301;
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
	opacity: 0.8;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
}

#main_menu:hover{
	opacity: 1;
}

#main_menu li{
	padding: 5px 16px;
    font-size: 1.3em;
    background: #4996C4;
    list-style: none;
    text-align: center;
    cursor: pointer;
    color: #FBFBFB;
    
	-webkit-transition: box-shadow,text-shadow 0.2s ease;
	-moz-transition: box-shadow,text-shadow 0.2s ease-in-out;
	-o-transition: box-shadow,text-shadow 0.2s ease-in-out;
	-ms-transition: box-shadow,text-shadow 0.2s ease-in-out;
	transition: box-shadow,text-shadow 0.2s ease-in-out;
}

#main_menu li:hover {
    background: #195980;
    text-shadow: -6px 1px 12px #193444;
    box-shadow: inset -1px 0px 20px #0F364E;
}

#main_menu li:active {
    text-shadow: -2px 1px 2px #193444;
    box-shadow: inset -1px 2px 10px #0F364E;
}

.move_li:hover #main_menu {
	box-shadow: inset 1px 0px 20px #0F364E;
}

.col-no-padding{padding: 0px;}

.btn_dragg:hover{
	color: #fff;
	background: #4996c2;
}
.btn_dragg:active{
	box-shadow: 1px 2px 12px rgba(18, 32, 43, 0.55);
	background: #4996c2;
}

.link-drag{
	opacity: .6!important;
}

.link-info{
	    position: absolute;
    overflow: hidden;
    left: 0;
    bottom: 0;
    padding: 2px 0px;
    width: 100%;
    height: auto;
    outline: none;
    opacity: 0.9;
    color: rgb(11, 11, 11);
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-family: play;
    font-size: 14px;
    z-index: 3;
    box-shadow: 0px 3px 5px 1px #000;
}

.link-a{
    display: block;
    height: 100%;
    width: 100%;
    background: radial-gradient(transparent,rgba(0,0,0, .1));
    background: -webkit-radial-gradient(transparent,rgba(0,0,0, .1));
	float: left;
}
.link-a:hover{ 
	text-decoration: none;
}


.link-box{
	position: absolute;
	text-decoration: none !important;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.62),inset 1px 2px 0 rgba(255,255,2555, 0.05),0 2px 0 rgba(0,0,0, 0.1), inset 0 0 2px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.62),inset 1px 2px 0 rgba(255,255,2555, 0.05),0 2px 0 rgba(0,0,0, 0.1), inset 0 0 2px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.62),inset 1px 2px 0 rgba(255,255,2555, 0.05),0 2px 0 rgba(0,0,0, 0.1), inset 0 0 2px rgba(0,0,0,0.1);
    -o-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.62),inset 1px 2px 0 rgba(255,255,2555, 0.05),0 2px 0 rgba(0,0,0, 0.1), inset 0 0 2px rgba(0,0,0,0.1);
    -ms-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.62),inset 1px 2px 0 rgba(255,255,2555, 0.05),0 2px 0 rgba(0,0,0, 0.1), inset 0 0 2px rgba(0,0,0,0.1);
    /* box-shadow: 0px 1px 8px 1px #020202; */
    cursor: move;
    background-size: 100%;
    -moz-background-size: 100%;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    -ms-background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}
	
.link-edit-panel{
	background: rgb(25, 89, 128);
    color: #fff;
    position: absolute;
    text-align: center;
    padding: 1px 7px;
    font-size: 100%;
    opacity: 0.2; 
	cursor: pointer;
}

.link-edit-panel:hover{opacity: 1;}
	
.link-box-img{
	width: 100%;
    height: 190px;
    float: left;
    display: block;
	
	    background-size: 100%;
    -moz-background-size: 100%;
    -webkit-background-size: 100%;
    -o-background-size: 100%;
    -ms-background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.dell_md{
    background: #801919;
    position: inherit;
    color: #cacaca;
    font-size: 1.3em;
    cursor: pointer;
    transition: text-shadow, .2s;
    height: 33px;
    text-align: center;
	 
}

.save_md{
	background: #458019;
    position: inherit;
    color: #cacaca;
    font-size: 1.3em;
    cursor: pointer;
    transition: text-shadow, .2s;
    padding: 8px 0px;
    text-align: center;
	height: 50px;
}


#btn-edit-img-link{
    opacity: 0.3;
    height: 100%;
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease-in-out;
	-o-transition: opacity 0.2s ease-in-out;
	-ms-transition: opacity 0.2s ease-in-out;
	transition: opacity 0.2s ease-in-out;
	box-shadow: 0px 0px 10px #545454;
}

#btn-edit-img-link:hover{
    opacity: 0.7;
}

.no-active-btn-t{
	background: #fff !important;
    color: #195980!important;
}

.menu_btn_tech{
	background: #195980 !important;
}

.message-empty{
	padding: 30px 0px;
    text-align: center;
    color: #d2d2d2;
    font-size: 1.3em;
}

#friends_serch_id{
	text-align: center;
}

.box-friends-list{
	height: 100px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.box_bg_friend{
	height: 100%;
	background-size: cover;
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: center;
	
}


#tooltip { 
	  z-index: 9999;
	position: fixed;
	display: none;
	top:0px;
	left:0px;
	background-color: #000;
	padding: 6px 11px 6px 11px;
	color: white;
	opacity: 0.7;
	 font-family: play;
}

.ui-resizable-handle.ui-resizable-s{position:absolute;left:0;bottom:0;right:0;height:5%;}
.ui-resizable-handle.ui-resizable-e{position:absolute;top:0;bottom:0;right:0;width:5%;}
.ui-resizable-handle.ui-resizable-se{cursor:crosshair; position:absolute;right:0;bottom:0;width:15px;height:15px;background-image: url('/img/resize.png');  opacity: 0.2;background-position: center center;
background-repeat: no-repeat;
background-size: cover;
-moz-background-size: cover;
-webkit-background-size: cover;}


.radio_box{
	position: absolute;
	min-height: 100px;
	min-width: 100px;
}

.folders{
	position: absolute;
    background-color: rgba(67, 139, 187, 0.9);
    border-color: #3164a3;
    box-shadow: 1px 1px 8px rgba(18, 32, 43, 0.65);
    z-index: 300;
	overflow: hidden;
	min-width: 91px;
	min-height: 115px;
	
	
}

.folders-hover-link{
	box-shadow: 1px 1px 8px rgba(18, 32, 43, 1);
	
	animation: pulsate .6s ease-out;
    animation-iteration-count:infinite;
}

@keyframes pulsate {
	0% {transform:scale(1);box-shadow: 1px 1px 8px rgba(18, 32, 43, 1);} 
	50% {transform:scale(1.02);box-shadow: 4px 4px 30px rgba(18, 32, 43, 1);} 
	100% {transform:scale(1);box-shadow: 1px 1px 8px rgba(18, 32, 43, 1);}
}

.folders-name{
	width: 100%;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid #34688a;
    font-size: 1.1em;
    padding: 5px 0px;
    background: rgba(57, 115, 154, 0.48);
	float: left;
	font-family: play;
}

.folders-box-link-mini{
	width: 100%;
	overflow: hidden;
}

.folders-link-mini{
	width: 80px;
    height: 70px;
    float: left;
    margin: 5px;
    background-size: cover; 
    background-repeat: no-repeat;
    background-color: #fff;
    background-position: center;
	box-shadow: 0px 0px 5px #585858;
	overflow: hidden;
}

.folders-link-mini:hover{box-shadow: 0px 0px 3px #585852;}

.folders-link-mini-a:hover{text-decoration: none;}
	
	.folders-link-mini-a{
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.folders-link-mini-name{
    font-family: play;
    width: 100%;
    text-align: center;
        background: rgba(255, 255, 255, 0.65);
        color: rgb(11, 11, 11);
    
    margin-top: 50px;
    font-size: 1em;
	
}

@media screen and (max-width:480px){

body{
	    overflow: auto;
}

.folders{
	position: static !important;
    width: 100%!important;
    height: 115px!important;
    margin-bottom: 5px;
}


.link-box{
	position: static !important;
    float: left;
    margin: 1.6%;
    width: 30% !important;
    height: 100px !important;
}

#main_menu{
	position: static !important;
	opacity: 1;
}



#main_menu li{
	padding: 4px;
    float: left;
    width: 33.3%;
}


.status_menu_02{
	display: inline;
}

.menu_btn_tech{
	display: none;
	
}
.link-info{
	position: relative !important;
	margin-top: 75px;
}

.mini-no{
	display: none;
}

}

/* === dorabotka 11.10.2026: uvedomleniya, zagruzchik, melkie elementy UI === */

.ui-hidden { display: none !important; }

.ui-file-hidden {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
}

.ui-hint {
	color: rgba(255,255,255,0.6);
	font-size: 12px;
	margin-left: 10px;
}

.ui-sub-header { font-size: 20px; margin-top: 10px; }

#ui-toast {
	position: fixed;
	z-index: 20000;
	right: 20px;
	bottom: 20px;
	max-width: 360px;
}

.ui-toast-item {
	background: rgba(40,40,40,0.92);
	color: #fff;
	padding: 10px 14px;
	margin-top: 8px;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.4);
	font-size: 14px;
	line-height: 1.35;
}

.ui-toast-error { background: rgba(150,40,40,0.94); }

#ui-loader {
	position: fixed;
	z-index: 20001;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.25);
}

.ui-loader-box {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -22px 0 0 -70px;
	width: 140px;
	padding: 12px 0;
	text-align: center;
	color: #fff;
	background: rgba(40,40,40,0.92);
	border-radius: 4px;
}

.ui-help p {
	color: #fff;
	font-size: 15px;
	line-height: 1.5;
	margin-bottom: 10px;
}

.ui-help .lsf-icon { margin-right: 6px; }

.ui-friend-name {
	color: #fff;
	font-size: 15px;
	padding: 4px 0 8px 0;
}

.folder-link-out {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	text-align: center;
	font-size: 11px;
	color: #fff;
	background: rgba(0,0,0,0.55);
	cursor: pointer;
	padding: 2px 0;
}

.folder-link-out:hover { background: rgba(0,0,0,0.8); }

#folder-links .folders-link-mini { position: relative; }

.folders-name { cursor: pointer; }

.link-box .ui-resizable-se, .folders .ui-resizable-se { z-index: 310; }

/* pravki posle proverki na prode 11.10.2026: tekst v svetlyh modalkah i radio v odnu stroku */
.ui-friend-name { color: #333; }
.ui-help p { color: #444; }
.ui-hint { color: #888; }
.radio_buttons label { width: 49%; }
.ui-old-link { display: block; text-align: center; padding: 8px 0 2px 0; color: #888; font-size: 13px; }
.ui-old-link:hover { color: #555; }

/* ==========================================================================
   Dorabotka 11.10.2026 (v2): odin shrift, ikonka udaleniya i otlet,
   papki (cvet, vid, skroll, privatnost'), svoy vopros vmesto confirm,
   zagruzchik-bloki, plyus v menyu, gostevoy stol.
   ========================================================================== */

/* --- shrift odin i tot zhe vsyudu (bol'she nikakogo monospace i Caviar) --- */
body, input, select, textarea, button, a,
.btn, .btn-default, .form-control, .input-lg-modal-form,
.reval_header, .close_reval_md, .dell_md, .save_md, .inpute-fast-edit,
.radio_buttons label, #tooltip, .ui-hint, .ui-help p, .ui-friend-name,
.message-empty, .modal-content, .folders-name, .link-info, .folders-link-mini-name {
	font-family: play, 'Trebuchet MS', 'Segoe UI', Arial, sans-serif !important;
}

.form-control::-webkit-input-placeholder { color: #b5b5b5; }
.form-control::-moz-placeholder { color: #b5b5b5; opacity: 1; }
.form-control:-ms-input-placeholder { color: #b5b5b5; }

::selection { background: #4996C4; color: #fff; }
::-moz-selection { background: #4996C4; color: #fff; }

select.form-control {
	height: 40px;
	padding: 8px 14px;
	background: #fff;
	border: none;
	border-bottom: 2px solid #f0f0f0;
	color: #555;
	font-size: 15px;
	cursor: pointer;
}

/* nazvanie papki: akkuratnoe pole v shapke, a ne belyy blok s rvanym vydeleniem */
.inpute-fast-edit {
	background: rgba(255,255,255,0.12);
	border: none;
	border-bottom: 2px solid rgba(255,255,255,0.35);
	width: 100%;
	text-align: center;
	color: #fff;
	height: 36px;
	font-size: 19px;
	letter-spacing: 0.3px;
	outline: none;
	transition: background .2s, border-bottom-color .2s;
}
.inpute-fast-edit:focus, .inpute-fast-edit:hover {
	background: rgba(255,255,255,0.2);
	border-bottom-color: #fff;
}
.inpute-fast-edit::-webkit-input-placeholder { color: rgba(255,255,255,0.6); }
.inpute-fast-edit::-moz-placeholder { color: rgba(255,255,255,0.6); opacity: 1; }
.inpute-fast-edit::selection { background: #fff; color: #195980; }
.inpute-fast-edit::-moz-selection { background: #fff; color: #195980; }

.reval_header { letter-spacing: 0.3px; }
.close_reval_md { font-size: 1.1em; padding-top: 5px; }

/* --- knopki pravki i udaleniya na plitke --- */
.link-edit-panel { left: 0; top: 0; border-bottom-right-radius: 3px; }

.link-del-panel {
	background: rgb(128, 25, 25);
	color: #fff;
	position: absolute;
	right: 0;
	top: 0;
	text-align: center;
	padding: 1px 7px;
	font-size: 100%;
	opacity: 0.2;
	cursor: pointer;
	z-index: 4;
	border-bottom-left-radius: 3px;
	transition: opacity .15s;
}
.link-del-panel:hover { opacity: 1; }

.folder-del-panel {
	position: absolute;
	right: 0;
	top: 0;
	padding: 2px 7px;
	color: #fff;
	background: rgba(128, 25, 25, 0.75);
	opacity: 0.35;
	cursor: pointer;
	z-index: 5;
	transition: opacity .15s;
}
.folder-del-panel:hover { opacity: 1; }

/* --- otlet pri udalenii (ssylka, mini-ssylka, papka) --- */
.ui-fly {
	pointer-events: none !important;
	transition: transform .42s cubic-bezier(.22,.61,.36,1), opacity .42s ease-out !important;
	transform: translate(40px, -160px) scale(0.12) rotate(18deg) !important;
	opacity: 0 !important;
}

/* --- papki: cvet, skroll, vidy --- */
.folders {
	min-width: 110px;
	min-height: 90px;
	border-radius: 4px;
	overflow: hidden;
}

.folders-name {
	border-bottom: 1px solid rgba(0,0,0,0.18);
	background: rgba(0,0,0,0.16);
	padding: 6px 26px 6px 8px;
	height: 32px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.folders-box-link-mini {
	width: 100%;
	height: calc(100% - 32px);
	overflow-x: hidden;
	overflow-y: auto;
	padding: 2px;
}

.folders-box-link-mini::-webkit-scrollbar { width: 7px; }
.folders-box-link-mini::-webkit-scrollbar-track { background: rgba(0,0,0,0.12); }
.folders-box-link-mini::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.55); border-radius: 4px; }
.folders-box-link-mini::-webkit-scrollbar-thumb:hover { background: #fff; }

.folders-link-mini { position: relative; border-radius: 3px; }
.folders-link-mini-name {
	position: absolute;
	left: 0;
	bottom: 0;
	margin-top: 0 !important;
	padding: 1px 3px;
	font-size: 12px;
	line-height: 1.25;
	max-height: 2.6em;
	overflow: hidden;
}

/* vid: spisok */
.fview-list .folders-link-mini {
	width: 100%;
	height: 30px;
	margin: 2px 0;
	float: none;
	background-size: 28px 28px;
	background-position: left center;
	box-shadow: none;
	background-color: rgba(255,255,255,0.12);
}
.fview-list .folders-link-mini-name {
	position: static;
	display: block;
	margin-left: 32px !important;
	background: none;
	color: #fff;
	text-align: left;
	line-height: 30px;
	font-size: 13px;
	max-height: 30px;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
.fview-list .folder-link-out { position: absolute; width: auto; right: 54px; left: auto; bottom: 4px; padding: 0 6px; }
.fview-list .link-del-panel, .fview-list .link-edit-panel { padding: 0 6px; }

/* vid: plitki (po umolchaniyu) */
.fview-grid .folders-link-mini { width: 80px; height: 70px; margin: 4px; }

/* vid: krupno */
.fview-big .folders-link-mini { width: 126px; height: 104px; margin: 5px; }
.fview-big .folders-link-mini-name { font-size: 13px; }

#folder-links { padding: 6px 4px 2px 4px; min-height: 90px; max-height: 46vh; overflow-y: auto; }
#folder-links.fview-list .folders-link-mini { background-color: #efefef; }
#folder-links.fview-list .folders-link-mini-name { color: #333; }
.ui-sort-hint { padding-bottom: 10px; }
.folders-link-mini.ui-sortable-helper { box-shadow: 0 6px 18px rgba(0,0,0,0.45); opacity: .95; }
.ui-sort-gap { background: rgba(73,150,196,0.25); border: 1px dashed #4996C4; }

/* --- instrumenty papki v modalke --- */
.ui-folder-tools { padding-top: 10px; }
.ui-tool-row { display: block; padding: 5px 0; }
.ui-tool-label {
	display: inline-block;
	width: 115px;
	color: #777;
	font-size: 13px;
	vertical-align: middle;
}
.ui-btn-inline { display: inline-block; width: auto !important; padding: 7px 12px; font-size: 14px !important; }

.ui-colors { display: inline-block; vertical-align: middle; }
.ui-swatch {
	display: inline-block;
	width: 24px;
	height: 24px;
	margin: 0 4px 0 0;
	border-radius: 4px;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0,0,0,0.3);
	transition: transform .15s;
}
.ui-swatch:hover { transform: scale(1.15); }
.ui-swatch.ui-swatch-on { box-shadow: 0 0 0 2px #333; }
.ui-color-own {
	width: 30px;
	height: 26px;
	padding: 0;
	border: none;
	background: none;
	vertical-align: middle;
	cursor: pointer;
}

.ui-seg { display: inline-block; vertical-align: middle; }
.ui-seg-btn {
	border: none;
	background: #e9e9e9;
	color: #666;
	padding: 6px 13px;
	font-size: 13px;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.ui-seg-btn:hover { background: #d8d8d8; }
.ui-seg-btn.ui-seg-on { background: #4996C4; color: #fff; }

/* --- plyus v menyu: sayt ili papka --- */
#add-pop {
	position: fixed;
	z-index: 15000;
	background: #195980;
	padding: 4px;
	border-radius: 4px;
	box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}
.ui-pop-btn {
	display: block;
	width: 140px;
	border: none;
	background: none;
	color: #fff;
	text-align: left;
	padding: 8px 12px;
	font-size: 15px;
	cursor: pointer;
}
.ui-pop-btn:hover { background: #4996C4; }
.ui-pop-btn .lsf-icon { margin-right: 8px; }

/* --- zagruzchik: bloki sobirayutsya v stol --- */
#ui-loader { background: rgba(8, 20, 30, 0.35); }
body.desk-loading #main_menu { visibility: hidden; pointer-events: none; }

.ui-blocks {
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -32px 0 0 -32px;
	animation: ui-blocks-turn 3.2s linear infinite;
	will-change: transform;
}

.ui-blk {
	fill: #fff;
	opacity: 0.18;
	animation: ui-blk-pulse 1.2s ease-in-out infinite;
	will-change: opacity;
}
.ui-blk2 { animation-delay: .15s; }
.ui-blk3 { animation-delay: .3s; }
.ui-blk4 { animation-delay: .45s; }

@keyframes ui-blk-pulse {
	0%, 100% { opacity: 0.18; }
	40% { opacity: 1; }
}

@keyframes ui-blocks-turn {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* --- svoy vopros vmesto confirm() --- */
#ui-ask {
	position: fixed;
	z-index: 30000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(8, 20, 30, 0.45);
}

.ui-ask-card {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 330px;
	margin: -90px 0 0 -165px;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 14px 40px rgba(0,0,0,0.45);
	overflow: hidden;
	animation: ui-ask-in .18s ease-out;
}

@keyframes ui-ask-in {
	from { transform: scale(0.92); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

.ui-ask-title {
	background: #4996C4;
	color: #fff;
	padding: 10px 16px;
	font-size: 18px;
}
.ui-ask-text { padding: 16px; color: #555; font-size: 15px; line-height: 1.4; }
.ui-ask-btns { display: block; border-top: 1px solid #eee; }
.ui-ask-btns button {
	width: 50%;
	float: left;
	border: none;
	background: #fff;
	padding: 12px 0;
	font-size: 15px;
	cursor: pointer;
	transition: background .15s, color .15s;
}
.ui-ask-no { color: #777; }
.ui-ask-no:hover { background: #f1f1f1; }
.ui-ask-yes { color: #a32020; border-left: 1px solid #eee !important; }
.ui-ask-yes:hover { background: #a32020; color: #fff; }

/* --- marker izmeneniya razmera: zametnee i bez dergani --- */
.link-box .ui-resizable-se, .folders .ui-resizable-se {
	width: 18px;
	height: 18px;
	opacity: 0.35;
}
.link-box:hover .ui-resizable-se, .folders:hover .ui-resizable-se { opacity: 0.8; }
.link-box.ui-resizable-resizing, .folders.ui-resizable-resizing { transition: none !important; }

/* --- gostevoy stol --- */
.ui-guest-bar {
	position: fixed;
	z-index: 500;
	right: 16px;
	top: 16px;
	background: rgba(25, 89, 128, 0.88);
	color: #fff;
	border-radius: 4px;
	padding: 8px 12px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.35);
	max-width: 320px;
}
.ui-guest-name { font-size: 16px; padding-bottom: 6px; }
.ui-guest-bar .ui-pop-btn { width: auto; display: inline-block; padding: 6px 10px; font-size: 14px; }
.ui-guest-bar .ui-pop-btn:hover { background: #4996C4; border-radius: 3px; }
.ui-guest .link-box, .ui-guest .folders { cursor: pointer; }

@media screen and (max-width: 480px) {
	.folders-box-link-mini { height: 83px; }
	.ui-tool-label { width: 100%; display: block; padding-bottom: 4px; }
	.ui-ask-card { width: 86%; margin-left: -43%; }
	.ui-guest-bar { right: 8px; top: 8px; max-width: 70%; }
}

/* svetlaya papka: nazvaniya tyomnye, inache ih ne vidno */
.folders-light .folders-name { color: #22425a; text-shadow: none; background: rgba(0,0,0,0.07); border-bottom-color: rgba(0,0,0,0.12); }
.folders-light .folder-del-panel { background: rgba(128,25,25,0.6); }
.folders-light .fview-list .folders-link-mini { background-color: rgba(0,0,0,0.06); }
.folders-light .fview-list .folders-link-mini-name { color: #22425a; }
.folders-light .folders-box-link-mini::-webkit-scrollbar-track { background: rgba(0,0,0,0.08); }
.folders-light .folders-box-link-mini::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.3); }

/* Правки папок, редактора и страниц друзей. */
/* Компактные элементы, читаемые подписи и действия по смыслу. */
html { height:100%; }
body { min-height:100vh;height:100%;position:relative; }
.link-box,.folders,.folders-link-mini { user-select:none; -webkit-user-select:none; }
.link-a:focus,.folders-link-mini-a:focus { outline:none; }
.folders-link-mini { transition:box-shadow .15s,filter .15s; }
.folders-link-mini:hover { box-shadow:0 0 0 2px rgba(255,255,255,.8),0 4px 12px rgba(0,0,0,.2); filter:brightness(1.08); }
#folder-links .folders-link-mini:hover { box-shadow:0 0 0 2px #4996c4,0 4px 12px rgba(0,0,0,.15); }
.link-edit-panel { z-index:5; }
.desk-frozen .link-edit-panel,.desk-frozen .link-del-panel,.desk-frozen .folder-del-panel,
.desk-frozen .folder-link-out,.desk-frozen .ui-resizable-handle,.desk-frozen .sticker-del,
.desk-frozen #folder-settings-toggle,.desk-frozen #folder-settings,.desk-frozen #btn-del-folder { display:none!important; }
.private-hidden .folders-link-mini.link_hidden { display:none!important; }
.ui-folder-toolbar { display:flex;align-items:center;gap:10px;padding:12px 15px; }
.ui-folder-toolbar .form-control { flex:1;min-width:0; }
.ui-folder-toolbar button { border:0;border-radius:5px;background:#e6f0f7;color:#24526d;padding:8px 12px; }
#folder-settings { margin:0 15px 12px;width:calc(100% - 30px);border-radius:6px;background:#f3f6f8;padding:12px; }
#folder-settings label { font-weight:normal;margin:0 12px 0 0; }
#folder-links { clear:both; min-height:140px;max-height:60vh; }
.folders-box-link-mini.scroll-horizontal,#folder-links.scroll-horizontal { display:flex;flex-wrap:nowrap;gap:6px;align-items:flex-start; }
.scroll-horizontal .folders-link-mini { float:none;flex-shrink:0; }
.scroll-horizontal.fview-list .folders-link-mini { width:220px;min-width:220px; }
.folders-box-link-mini { max-width:100%; }
.reval-edit-link .modal-dialog { width:760px;max-width:calc(100vw - 24px); }
.reval-edit-link .link-box-img { height:180px;min-height:180px;float:none;background-size:contain;background-repeat:no-repeat;background-position:center; }
.ui-image-actions { display:grid;gap:8px;padding:8px 12px 12px; }
.reval-edit-link #btn-edit-img-link { height:auto;opacity:1;font-size:15px;white-space:normal; }
.ui-image-actions .btn { font-size:15px!important;width:100%;white-space:normal; }
.reval-edit-link .link-box-img .btn { font-size:15px!important;width:auto;white-space:normal; }
.box-friends-list { display:flex;gap:12px;align-items:center;clear:both;height:auto!important;min-height:95px;margin:10px 0;padding:12px;border-radius:8px;background:#f3f6f8; }
.box-friends-list .box_bg_friend { flex:0 0 88px;width:88px;height:64px!important;background-size:cover;background-position:center;border-radius:5px; }
.box-friends-list > div:last-child { flex:1;min-width:0;width:auto; }
.box-friends-list .btn { display:inline-block;float:none;width:auto!important;padding:8px 12px;font-size:14px!important;margin-top:5px;white-space:normal; }
.ui-friend-name { overflow-wrap:anywhere; }
.ui-guest-bar { width:290px;max-width:calc(100vw - 24px);padding:14px;border-radius:12px;box-shadow:0 12px 36px rgba(0,0,0,.35); }
.guest-bar-handle { cursor:move;float:right;font-size:24px;line-height:1;padding:0 0 8px 12px; }
.ui-guest-name { padding-right:25px;overflow-wrap:anywhere; }
#guest-actions { display:flex;flex-wrap:wrap;gap:5px;clear:both; }
.ui-guest-bar .ui-pop-btn { padding:7px 10px;background:rgba(255,255,255,.1);border-radius:5px; }
.guest-dragging { box-shadow:0 18px 40px rgba(0,0,0,.45)!important;cursor:grabbing!important; }
.desk-sticker { position:absolute;z-index:350;width:200px;max-width:65vw;min-height:140px;padding:20px 16px 12px;background:#fff2a6;color:#57492b;box-shadow:0 6px 20px rgba(0,0,0,.25);border-radius:2px 2px 14px 2px;cursor:move; }
.sticker-text { white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto;line-height:1.45; }
.sticker-author { display:block;font-size:12px;color:#806e42;margin-top:15px; }
.sticker-del { position:absolute;right:5px;top:2px;background:none;border:0;font-size:21px;color:#806e42; }
#incoming-links { position:fixed;right:16px;bottom:16px;z-index:650;width:320px;max-width:calc(100vw - 32px);max-height:55vh;overflow:auto;padding:14px;background:#fff;border-radius:10px;box-shadow:0 10px 32px rgba(0,0,0,.28); }
#incoming-links h3 { font-size:18px;margin:0 0 10px; }
.incoming-link { border-top:1px solid #e5e9ee;padding:10px 0; }
.incoming-link strong,.incoming-link small,.incoming-link a { display:block;overflow-wrap:anywhere;margin-bottom:4px; }
.incoming-link button { border:0;border-radius:5px;padding:6px 10px;margin:4px 5px 0 0;background:#e6f0f7;color:#24526d; }
.social-heading { padding:12px 18px;background:#4996c4;color:white;border-radius:6px 6px 0 0; }
.social-heading h3 { margin:0;font-size:20px; }
.social-heading button { float:right;background:none;border:0;font-size:26px;line-height:1;color:white; }
.social-form { padding:18px; }
.social-form .form-control,.social-form label { margin-bottom:12px; }
.social-form .btn { width:auto;font-size:16px!important; }
@media(max-width:600px) {
 .box-friends-list .box_bg_friend { flex-basis:60px;width:60px;height:50px!important; }
 .ui-guest-bar { width:260px; }
 .reval-edit-link .link-box-img { height:160px;min-height:160px; }
 .ui-seg-btn { padding:6px 9px; }
 .ui-folder-toolbar { gap:6px; }
}

/* Обновление интерфейса 11.10: мягкие поверхности и компактные действия. */
.modal-content { border:0;border-radius:16px;overflow:hidden;box-shadow:0 20px 70px rgba(16,34,49,.3); }
.modal-content .form-control { border:1px solid #dbe3eb;border-radius:9px;box-shadow:none; }
.modal-content .btn { border:0;border-radius:9px;box-shadow:none;padding:10px 14px; }
.action-danger,#btn-del-link,#btn-del-folder { background:#fde8e7!important;color:#ac3434!important; }
.action-danger:hover,#btn-del-link:hover,#btn-del-folder:hover { background:#c34242!important;color:#fff!important; }
.action-primary,#btn-edit-link,#btn-add-link { background:#287baf!important;color:#fff!important; }
.ui-seg { background:#e6edf3;border-radius:9px;padding:3px; }
.ui-seg-btn { border-radius:7px;background:transparent; }
.ui-seg-btn.ui-seg-on { background:#fff;color:#215979;box-shadow:0 2px 5px #0001; }
.scroll-choice { display:inline-flex;gap:4px;padding:4px;background:#e6edf3;border-radius:10px; }
#folder-settings .scroll-choice label { margin:0;cursor:pointer;padding:7px 10px;border-radius:7px;color:#365568; }
.scroll-choice label:has(input:checked) { background:#fff;box-shadow:0 2px 5px #0001; }
.scroll-choice input { appearance:none;width:0;margin:0; }
.scroll-choice label:focus-within { outline:2px solid #287baf; }
.folders-box-link-mini,#folder-links,.sticker-text { scrollbar-width:thin;scrollbar-color:#7e9aae66 transparent; }
.folders-box-link-mini::-webkit-scrollbar,#folder-links::-webkit-scrollbar,.sticker-text::-webkit-scrollbar { width:5px;height:5px; }
.folders-box-link-mini::-webkit-scrollbar-thumb,#folder-links::-webkit-scrollbar-thumb,.sticker-text::-webkit-scrollbar-thumb { border-radius:8px;background:#7e9aae88; }
.folders-box-link-mini::-webkit-scrollbar-track,#folder-links::-webkit-scrollbar-track { background:transparent; }
.link-box .ui-resizable-se,.folders .ui-resizable-se { width:10px;height:10px;right:3px;bottom:3px;background-image:none;opacity:.45;border-right:2px solid #fff;border-bottom:2px solid #fff;border-radius:0 0 3px 0; }
.link-info,.folders-link-mini-name { white-space:nowrap;overflow:hidden;text-overflow:ellipsis;height:22px!important;line-height:22px!important;padding:0 6px!important; }
.link-info { position:absolute!important;margin-top:0!important; }
.title-track { display:inline-block;white-space:nowrap; }
.title-scrolling { text-overflow:clip; }
.title-scrolling .title-track { animation:title-slide 5s linear infinite alternate; }
@keyframes title-slide { 0%,15% { transform:translateX(0); } 85%,100% { transform:translateX(var(--travel)); } }
.folders-link-mini:hover,#folder-links .folders-link-mini:hover { filter:none;box-shadow:0 3px 12px #0002; }
.folders-link-mini { border-radius:6px; }
.folders-link-mini .link-edit-panel { opacity:0;border-radius:6px;padding:3px 6px; }
.folders-link-mini:hover .link-edit-panel,.folders-link-mini:focus-within .link-edit-panel { opacity:1; }
.fview-list .folders-link-mini { height:38px;margin:4px 0;background-size:30px 30px;background-position:4px center;border-radius:7px; }
.fview-list .folders-link-mini-name { width:calc(100% - 44px);margin-left:40px!important;height:38px!important;line-height:38px!important; }
.fview-list .link-edit-panel { left:auto;right:6px;top:6px;padding:2px 6px;background:#e6edf3;color:#365568;font-size:13px; }
.fview-list .folders-link-mini:hover .folders-link-mini-name { width:calc(100% - 80px); }
#friends-list,#friend-search-result { display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;padding:14px; }
.box-friends-list { flex-direction:column;gap:8px;min-height:0;clear:none;margin:0;padding:14px;border:0;background:#f0f4f8;text-align:center; }
.box-friends-list .box_bg_friend { flex:0 0 64px;width:80px;height:64px!important; }
.box-friends-list > div:last-child { padding:0;width:100%; }
.box-friends-list .btn { padding:6px 10px;font-size:12px!important; }
.ui-friend-name { color:#294251;font-size:14px; }
#my-id { color:#214c6a;font-weight:bold; }
#btn-del-folder { font-size:16px;padding:10px;height:40px;cursor:pointer; }
.desk-sticker { background:linear-gradient(135deg,#fff7c6,#ffe798);border-radius:4px 4px 18px 4px;padding:22px 18px 0;box-shadow:3px 10px 24px #0002;transform:rotate(-1deg); }
.sticker-text { font-size:15px;line-height:1.55;padding-bottom:16px;min-height:85px; }
.sticker-author { margin:0 -18px;padding:10px 18px 0;background:#fff5c4;color:#695b35;font-weight:bold;border-top:1px solid #cdb65733; }
.sticker-time { display:block;margin:0 -18px;padding:3px 18px 12px;background:#fff5c4;font-size:11px;color:#88794f;border-radius:0 0 18px 4px; }
.sticker-del { font-size:18px;opacity:0; }
.desk-sticker:hover .sticker-del { opacity:1; }
.social-heading { background:#f3f6f9;color:#294251;padding:18px 22px; }
.social-heading button { color:#627a8c; }
.social-heading h3 { font-size:19px; }
.social-form { padding:22px;color:#365568; }
.social-form textarea { background:#fff9dd;resize:vertical;min-height:150px; }
.social-form label { display:flex;align-items:center;gap:9px;font-size:13px; }
.social-form input[type=checkbox] { accent-color:#287baf;width:16px;height:16px; }
.social-form .btn { background:#287baf;color:#fff; }
.ui-guest-bar { background:rgba(247,250,253,.96);color:#294251;border-radius:16px;box-shadow:0 10px 40px #132f4e33; }
.ui-guest-bar .ui-pop-btn { color:#365568;background:#e8eff5; }
.ui-guest-bar .ui-pop-btn:hover { color:#fff;background:#287baf; }
#guest-sticker-add { background:#fff0b1;color:#6b5933; }
#guest-share-link { background:#e0eee8;color:#34745b; }
.desk-context { position:fixed;z-index:25000;width:210px;padding:6px;background:#fff;border-radius:12px;box-shadow:0 12px 40px #1234; }
.desk-context button { display:block;width:100%;border:0;background:transparent;text-align:left;color:#365568;padding:10px 12px;border-radius:7px; }
.desk-context button:hover { background:#edf3f7; }
.friend-picker { display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px;max-height:45vh;overflow:auto; }
.friend-choice { border:0;padding:14px 8px;border-radius:12px;background:#f0f4f8;color:#294251; }
.friend-choice:hover { background:#dfebf3; }
.friend-choice strong,.friend-choice small { display:block;overflow-wrap:anywhere; }
.friend-choice small { color:#698093;margin-top:4px;font-size:11px; }
.friend-avatar { display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0 auto 10px;background:#dce9f2 center/cover;border-radius:14px;font-size:23px;color:#497692; }
.friend-desk-card { background-color:#438bbb; }
.friend-desk-badge { position:absolute;left:8px;top:30%;font-size:11px;color:#fff;background:#ffffff22;border-radius:6px;padding:4px 7px; }
.fview-list .friend-desk-badge { display:none; }
@media (prefers-reduced-motion:reduce) { .title-scrolling .title-track { animation:none; } }
.modal-content .row_modal { position:relative;margin:0; }
#tooltip { pointer-events:none; }
.modal-content .close_reval_md { position:absolute;right:12px;top:12px;width:28px;height:28px;border-radius:7px;padding:4px;line-height:20px;font-size:14px;z-index:10;box-shadow:none;color:#607a8d;background:#e6edf3; }
.modal-content .dell_md,#btn-del-folder { position:absolute;right:48px;top:12px;width:28px;height:28px;padding:4px;font-size:14px;line-height:20px;z-index:10;border-radius:7px;box-shadow:none; }
.modal-content .reval_header { padding:18px 90px 18px 18px;text-align:left;font-size:18px;background:#f3f6f9;color:#294251;min-height:56px; }
.modal-content .btn-default { background:#e9eff4;color:#365568;box-shadow:none; }
#btn-lock-link,#btn-lock-folder { background:#eee9f5;color:#725593; }
#btn-edit-img-link,#btn-shot-link,#btn-link-folder-out,#btn-add-bg { background:#e9eff4!important;color:#365568!important;box-shadow:none!important; }
.folders-link-mini .link-del-panel,.folders-link-mini .folder-link-out { position:absolute;top:3px;bottom:auto;right:3px;left:auto;z-index:6;width:22px;height:22px;padding:0;border:0;border-radius:5px;background:#fde8e7;color:#ac3434;font-size:15px;line-height:22px;opacity:0; }
.folders-link-mini .folder-link-out { right:28px;background:#e6edf3;color:#365568; }
.folders-link-mini .link-edit-panel { left:3px;top:3px;height:22px;line-height:16px; }
.folders-link-mini:hover .link-del-panel,.folders-link-mini:hover .folder-link-out,.folders-link-mini:focus-within .link-del-panel,.folders-link-mini:focus-within .folder-link-out { opacity:1; }
.fview-list .link-edit-panel { left:auto;right:55px;top:8px; }
.fview-list .link-del-panel { right:5px;top:8px; }
.fview-list .folder-link-out { right:30px;top:8px; }
.fview-list .folders-link-mini:hover .folders-link-mini-name { width:calc(100% - 120px); }
#friends-list,#friend-search-result { grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); }
.box-friends-list { box-shadow:none;padding:12px;border-radius:10px; }
.box-friends-list .box_bg_friend { flex-basis:48px;width:58px;height:48px!important; }
.ui-sub-header .ui-hint { color:#496477; }

/* Синие стеклянные поверхности, одинаковые действия на обоих столах. */
a,a:hover,a:focus,a:active { text-decoration:none!important; }
button,a,[role=button],[data-dismiss],.dell_md,.ui-seg-btn,.radio_buttons label,.scroll-choice label { cursor:pointer; }
button,a,[role=button],.btn,.ui-pop-btn,.ui-seg-btn,.radio_buttons label { transition:background-color .18s,color .18s,box-shadow .18s,filter .18s; }
button:hover,a:hover,[role=button]:hover { filter:brightness(1.08); }
button:focus-visible,a:focus-visible,[role=button]:focus-visible { outline:2px solid #3fa7ef;outline-offset:3px; }
button:disabled { cursor:default;filter:none;opacity:.55; }
.modal-content { background:rgba(219,239,255,.88);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border:1px solid #cceaff99;box-shadow:0 22px 80px #123c6255; }
.modal-content .reval_header,.social-heading { background:rgba(61,145,204,.78);color:#fff;border-bottom:1px solid #b8e6ff77; }
.modal-content .row_modal { padding-bottom:18px; }
.modal-content .reval_header { margin-bottom:18px;padding:20px 96px 20px 22px;line-height:24px; }
.modal-content .ui-sub-header { margin-top:12px;margin-bottom:8px;font-size:16px; }
.modal-content .row_modal>.col-md-6 { padding-left:22px;padding-right:22px; }
.modal-content .row_modal>.col-md-12:not(.reval_header):not(.close_reval_md):not(.dell_md):not(.box_setting_bg) { padding-left:22px;padding-right:22px; }
.modal-content .form-control { background:rgba(236,247,255,.68);color:#194969;border:1px solid #86bde4;border-radius:10px; }
.modal-content .form-control::placeholder { color:#5d87a5;opacity:1; }
.modal-content .form-control:hover { border-color:#4b9ed8; }
.modal-content .form-control:focus { border-color:#268bd1;box-shadow:0 0 0 3px #3aa9f022; }
.modal-content .btn-default,#btn-edit-img-link,#btn-shot-link,#btn-link-folder-out,#btn-add-bg { background:#bedff7!important;color:#164f79!important; }
.modal-content .btn-default:hover,#btn-edit-img-link:hover,#btn-shot-link:hover,#btn-link-folder-out:hover,#btn-add-bg:hover { background:#479bd3!important;color:#fff!important; }
.modal-content .action-primary,.social-form>.btn-default:last-child { background:#287fb9!important;color:#fff!important; }
.modal-content .action-danger { background:#fbd5d6!important;color:#a72c39!important; }
.modal-content .action-danger:hover { background:#c73b4c!important;color:#fff!important; }
.modal-content .close_reval_md,.social-heading>button { position:absolute;right:14px;top:16px;width:32px;height:32px;padding:0;display:flex;align-items:center;justify-content:center;line-height:1;font-size:24px;border:0;border-radius:9px;background:#ffffff26;color:#fff;text-align:center; }
.modal-content .close_reval_md:hover,.social-heading>button:hover { background:#ffffff55; }
.modal-content .dell_md,#btn-del-folder { right:54px;top:16px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;line-height:1; }
.dell_md .lsf-icon:before { font-size:21px;line-height:1; }
.social-heading { position:relative;padding:20px 58px 20px 22px; }
.social-heading h3 { margin:0;font-size:20px;line-height:24px; }
.social-form { padding:22px; }
#folder-settings,.box-friends-list,.friend-choice { background:#b7dbf066; }
.friend-choice:hover,.box-friends-list:hover { background:#98ceee77; }
.ui-folder-toolbar button,.ui-seg-btn,.scroll-choice label { background:#bcdff4;color:#20577b; }
.ui-guest-bar,.desk-context,.admin-desk-bar,#incoming-links { background:rgba(171,215,246,.55);color:#123d60;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border:1px solid #d7efff88;box-shadow:0 12px 40px #103f6433; }
.ui-guest-bar .ui-pop-btn,#guest-sticker-add,#guest-share-link { background:#c4e6fb66;color:#174e74; }
.ui-guest-bar .ui-pop-btn:hover,.desk-context button:hover { background:#328cca;color:#fff; }
.desk-sticker { background:var(--sticker-color,rgba(117,188,236,.52));color:#153f5c;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid #ffffff66;border-radius:14px;transform:none;padding:26px 18px 0;box-shadow:0 12px 32px #103f6430; }
.sticker-author,.sticker-time { background:rgba(218,240,255,.18);color:#153f5c;border-radius:0; }
.sticker-author { border-top:1px solid #ffffff44; }
.sticker-author:hover { background:#c4e6fb55;color:#075184; }
.sticker-time { border-radius:0 0 14px 14px; }
.sticker-del { top:5px;right:6px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;font-size:23px;border-radius:8px;color:#174b6d;opacity:.75; }
.sticker-del:hover { background:#c73b4c;color:#fff; }
.sticker-color-label { display:flex;align-items:center;gap:12px; }
.sticker-color-label input { width:48px;height:34px;border:0;background:none;cursor:pointer; }
.sticker-preview { padding:16px;border-radius:12px;color:#153f5c;margin-bottom:14px;white-space:pre-wrap;overflow-wrap:anywhere; }
.friend-desk-card { height:auto;aspect-ratio:1;border-radius:50%;background-size:cover;background-position:center;border:3px solid #bce5ff99;box-shadow:0 8px 30px #153d6044; }
.friend-desk-card .link-a { border-radius:50%;overflow:hidden; }
.friend-desk-card .link-info { position:absolute!important;margin-top:0;bottom:14%;width:100%;padding:7px 12%;background:#185988aa;color:#fff;text-align:center; }
.friend-desk-badge { top:20%;left:18%;right:18%;text-align:center;font-size:11px;border-radius:20px;background:#124a7899; }
.fview-list .friend-desk-card { aspect-ratio:auto;border-radius:12px; }
.fview-list .friend-desk-card .folders-link-mini-a { border-radius:12px; }
.admin-desk-bar { position:fixed;left:16px;bottom:16px;z-index:700;padding:6px;border-radius:12px;display:flex;gap:6px; }
.admin-desk-bar button { padding:8px 12px;border:0;border-radius:8px;background:#d1ebfb88;color:#174e74; }
.admin-desk-bar button:hover { background:#328cca;color:white; }
.admin-users { max-height:55vh;overflow:auto; }
.admin-user { padding:12px;margin-bottom:8px;border-radius:10px;background:#b6dbf077;display:grid;gap:5px; }
.admin-user small { overflow-wrap:anywhere; }
.admin-user .btn { justify-self:start; }
.user-online { color:#14603d; }.user-offline { color:#4b718c; }
@media(max-width:600px){.modal-content .reval_header { padding-left:18px;font-size:17px; }.desk-sticker { max-width:65vw; }.admin-desk-bar { max-width:calc(100vw - 24px);left:12px;bottom:12px; }}

/* Компактные стикеры и единое стекло, msg2201864. */
a:focus,a:active,button:focus,button:active,[role=button]:focus,.btn:focus,.btn:active,.scroll-choice label:focus-within { outline:none!important;box-shadow:none!important; }
a,button,[role=button],.btn { -webkit-tap-highlight-color:transparent; }
a:hover,button:hover,[role=button]:hover { filter:none; }
a:focus-visible,button:focus-visible,[role=button]:focus-visible { filter:brightness(1.15); }
.modal-content,.ui-ask-card,.ui-guest-bar,.desk-context,.admin-desk-bar,#incoming-links,#add-pop,#tooltip {
    background:rgba(164,211,244,.56);backdrop-filter:blur(26px) saturate(145%);-webkit-backdrop-filter:blur(26px) saturate(145%);
    border:0;box-shadow:0 14px 48px rgba(15,47,72,.22);color:#153f5c;
}
.modal-content .reval_header,.social-heading,.ui-ask-title { background:rgba(43,120,174,.32);border:0; }
.modal-content .form-control { background:rgba(237,248,255,.44);border:0;box-shadow:none; }
.modal-content .form-control:hover { background:rgba(237,248,255,.54); }
.modal-content .form-control:focus { border:0;box-shadow:none;background:rgba(237,248,255,.65); }
.ui-pop-btn,.ui-ask-btns button { background:transparent;color:#153f5c; }
.ui-pop-btn:hover,.ui-ask-no:hover { background:#edf8ff33; }
.ui-ask-btns,.ui-ask-yes { border:0!important; }
.ui-ask-text { color:#153f5c; }
#add-pop { border-radius:12px;overflow:hidden;padding:5px; }
#tooltip { border-radius:8px;opacity:1; }
.desk-sticker { min-height:0;padding:13px 14px 9px;border:0;box-shadow:0 8px 26px #103f6426; }
.sticker-text { min-height:0;padding:0 15px 0 0;font-size:14px;line-height:1.4; }
.sticker-meta { display:flex;align-items:center;gap:7px;margin-top:7px;min-width:0;line-height:15px; }
.sticker-author,.sticker-time { display:block;margin:0;padding:0;background:none;border:0;border-radius:0;font-size:10px;line-height:15px; }
.sticker-author { flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:normal; }
.sticker-author:hover,.sticker-author:focus,.sticker-author:active { background:none;color:inherit;filter:none; }
.sticker-time { flex:none;opacity:.65;white-space:nowrap; }
.sticker-del { top:4px;right:4px;width:21px;height:21px;font-size:19px;opacity:0; }
.desk-sticker:hover .sticker-del,.desk-sticker:focus-within .sticker-del { opacity:.8; }
.friend-desk-card { border:0;box-shadow:0 7px 24px #153d6033; }
.friend-desk-card .ui-resizable-se { right:14%;bottom:14%;width:10px;height:10px;z-index:8;background:none;border-right:2px solid #ffffff99;border-bottom:2px solid #ffffff99;border-radius:0 0 3px 0;opacity:.4; }
.friend-desk-card:hover .ui-resizable-se { opacity:.85; }
.folders-link-mini,#folder-links .folders-link-mini { border:0; }
#folder-links.fview-list .folders-link-mini { background-color:#e4f4ff24; }
#folder-links.fview-list .folders-link-mini-name { color:#153f5c; }
.folders-link-mini:hover,#folder-links .folders-link-mini:hover { box-shadow:0 4px 14px #153d601f; }
.folder-drag-helper { border:0!important;box-shadow:0 10px 28px #153d6038!important;opacity:1!important;pointer-events:none;transition:none!important; }
.folder-drag-helper .link-edit-panel,.folder-drag-helper .link-del-panel,.folder-drag-helper .ui-resizable-handle { display:none!important; }
.ui-sort-gap { border:0;background:#94cbed26;border-radius:8px;box-shadow:none!important; }
.fview-list .link-edit-panel { right:30px; }
.fview-list .folders-link-mini:hover .folders-link-mini-name { width:calc(100% - 96px); }
.btn-shadow:hover,.btn_dragg:active,#main_menu li:hover,#main_menu li:active { box-shadow:none;text-shadow:none; }
@media(hover:none){.sticker-del{opacity:.65;}}

.friend-desk-card .folders-link-mini-name { bottom:14%;width:100%;background:#18598899;color:#fff;text-align:center;box-shadow:none;border-radius:0; }
.fview-list .friend-desk-card .folders-link-mini-name { background:transparent;color:inherit;text-align:left; }
.ui-guest .link-box.friend-desk-card { height:auto!important; }
.modal-content hr { border:0;margin:10px 0; }
.radio_buttons input:checked+label,.ui-seg-on { box-shadow:none;background:#267eb955; }
.modal-content .btn-default,#btn-edit-img-link,#btn-shot-link,#btn-link-folder-out,#btn-add-bg { background:#d4efff55!important; }
.modal-content .btn-default:hover,#btn-edit-img-link:hover,#btn-shot-link:hover,#btn-link-folder-out:hover,#btn-add-bg:hover { background:#378cc777!important; }
.popover,.dropdown-menu,.tooltip-inner,.ui-toast-item { background:rgba(164,211,244,.56);backdrop-filter:blur(26px) saturate(145%);-webkit-backdrop-filter:blur(26px) saturate(145%);border:0;box-shadow:0 12px 36px #153d6026;color:#153f5c; }
.popover-content,.popover-title { background:transparent;border:0; }
@media(max-width:480px){.link-box.friend-desk-card{height:auto!important;}}

/* Размер окна соответствует содержимому; стекло остаётся читаемым. */
.modal-dialog { width:480px;max-width:calc(100vw - 28px);margin:28px auto; }
.reval-friends .modal-dialog { width:600px; }
.reval-edit-link .modal-dialog,.reval-folder .modal-dialog { width:780px; }
.reval-help .modal-dialog { width:620px; }
.modal-content { max-height:calc(100vh - 56px);overflow:auto;background:rgba(190,224,248,.83); }
.modal-content .row_modal { padding-bottom:22px; }
.modal-content .reval_header,.social-heading { color:#143e5d;background:#94c8eb66; }
.modal-content .close_reval_md,.social-heading>button { color:#143e5d; }
.modal-content .ui-hint,.modal-content .message-empty { color:#34566f;opacity:1;font-size:13px; }
.modal-content .btn { font-size:14px;white-space:normal;min-height:40px; }
.reval-settings #bg-preview { float:none;width:calc(100% - 44px);height:150px;margin:0 22px 18px;border-radius:10px;background-position:center;background-size:cover; }
.reval-settings .reval_header { float:none; }
#friend-search-result:empty { display:none; }
.reval-settings .radio_buttons { display:flex;gap:10px;margin:0 22px 20px;clear:both; }
.reval-settings .radio_buttons label { flex:1;width:auto;border-radius:9px;font-size:14px; }
.reval-settings .radio_buttons input:checked+label { background:#287fb9!important;color:#fff!important; }
.reval-settings hr { display:none; }
.reval-settings .ui-hint { display:block;margin-top:10px; }
#friends-list,#friend-search-result { grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px; }
.box-friends-list { max-width:180px; }
.social-form { display:flex;flex-direction:column;gap:14px; }
.social-form>.form-control,.social-form>label { margin:0; }
.social-form textarea { min-height:90px; }
.social-form .friend-picker { flex:none; }
.widget-settings label { display:flex;flex-direction:column;align-items:stretch;gap:7px; }
.widget-settings label.widget-checkbox { flex-direction:row;align-items:center; }
.city-results { display:grid;gap:6px;max-height:180px;overflow:auto; }
.city-results button { padding:10px;border:0;border-radius:8px;background:#d9efff88;text-align:left;color:#143e5d; }
.desk-widget { position:absolute;z-index:35;width:240px;max-width:calc(100vw - 24px);padding:14px;border-radius:14px;background:rgba(190,224,248,.82);backdrop-filter:blur(22px);color:#143e5d;box-shadow:0 8px 26px #103f6426; }
.widget-heading { display:flex;align-items:center;gap:8px;margin-bottom:10px;cursor:move; }
.widget-heading strong { flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px; }
.widget-heading button { border:0;background:transparent;color:#34566f;padding:2px 5px;font-size:16px; }
.widget-value { font-size:30px;line-height:1.25; }
/* Текстовые блоки и переписка остаются удобными на узком столе. */
.widget-note-input,.widget-calc-input,.widget-unix-input,.widget-chat-peer,.widget-chat-compose textarea { width:100%;padding:9px;border:0;border-radius:8px;background:#ffffff50;color:inherit;box-sizing:border-box;font:inherit; }
.widget-note-input { resize:vertical;min-height:100px;max-height:240px; }
.widget-note-text { white-space:pre-wrap;overflow-wrap:anywhere;max-height:240px;overflow:auto; }
.widget-action,.widget-chat-earlier { border:0;border-radius:8px;padding:8px 12px;margin-top:8px;background:var(--widget-accent,#176bae);color:white;cursor:pointer; }
.widget-action:disabled { opacity:.55;cursor:default; }
.widget-save-status,.widget-chat-hint { display:block;font-size:12px;margin-top:7px;min-height:16px; }
.widget-calc-result { display:block;color:inherit;font-size:21px;overflow-wrap:anywhere;padding:10px 0; }
.desk-chat-widget { width:320px;max-width:calc(100vw - 24px); }
.desk-unix-widget { width:290px;max-width:calc(100vw - 24px); }
/* Метка и строки перевода копируются кликом. */
.widget-unix-now { display:block;width:100%;padding:0;border:0;background:transparent;color:var(--widget-accent,inherit);font-size:26px;line-height:1.25;text-align:left;font-variant-numeric:tabular-nums;cursor:pointer; }
.widget-unix-input { margin-top:10px; }
.widget-unix-result { display:grid;gap:6px;margin-top:4px; }
.widget-unix-row { display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:13px; }
.widget-unix-row small { flex:none;opacity:.85; }
.widget-unix-row button { border:0;border-radius:6px;padding:3px 6px;background:#ffffff35;color:inherit;font:inherit;font-variant-numeric:tabular-nums;text-align:right;overflow-wrap:anywhere;cursor:pointer; }
.widget-unix-row button:hover { background:#ffffff70; }
.widget-chat-messages { height:210px;max-height:28vh;overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:8px;margin:10px 0; }

/* Все окна используют одну спокойную полосу прокрутки. */
* { scrollbar-width:thin;scrollbar-color:#527fa880 transparent; }
*::-webkit-scrollbar { width:6px;height:6px; }
*::-webkit-scrollbar-track { background:transparent; }
*::-webkit-scrollbar-thumb { border-radius:10px;background:#527fa880;border:1px solid transparent;background-clip:padding-box; }
*::-webkit-scrollbar-thumb:hover { background:#527fa8b0; }
*::-webkit-scrollbar-button { display:none;width:0;height:0; }
*::-webkit-scrollbar-corner { background:transparent; }
#tooltip { max-width:calc(100vw - 16px);overflow-wrap:anywhere;white-space:normal; }
#folder-links,.folders-box-link-mini { padding:10px 10px 24px;box-sizing:border-box;scrollbar-gutter:stable; }
.folders-link-mini,.link-box { transform:none; }
.folders-link-mini-name,.link-info { animation:none!important; }
.fview-list .folders-link-mini-name,.fview-list .folders-link-mini:hover .folders-link-mini-name { width:calc(100% - 96px)!important; }
.desk-add-types { display:flex;gap:6px;padding:0 20px 16px;flex-wrap:wrap; }
.desk-add-types button { flex:1;padding:9px;border:0;border-radius:9px;background:#ffffff38;color:#143e5d; }
.desk-add-types button.selected { background:#176bae;color:#fff; }
.desk-add-grid { display:grid;grid-template-columns:1fr 1fr;gap:12px; }
.desk-add-grid button { display:flex;flex-direction:column;gap:7px;padding:18px;border:0;border-radius:12px;background:#ffffff45;color:#143e5d;text-align:left; }
.desk-add-grid button:hover { background:#ffffff80; }
.desk-add-grid small { font-size:12px; }
.desk-add-extra { display:flex;flex-wrap:wrap;gap:10px;margin-top:12px; }
.desk-add-extra button { border:0;border-radius:8px;padding:8px 10px;background:#ffffff30;color:#143e5d; }
.desk-add-form { display:flex;flex-direction:column;gap:14px; }
.reval-friends #menu-notifications { display:inline-block;margin:12px 14px;padding:9px 13px;font-size:14px;background:#ffffff40;border-radius:9px; }
.friend-chat-open { margin-top:7px; }
.guest-bar-handle { margin-bottom:8px; }
#guest-actions .action-primary { font-weight:600; }
.widget-chat-message { align-self:flex-start;max-width:92%;padding:9px 11px;background:#ffffff55;border-radius:12px;overflow-wrap:anywhere;white-space:pre-wrap; }
.widget-chat-message.mine { align-self:flex-end;background:#ffffff8c; }
.widget-chat-message time { display:block;font-size:10px;margin-top:5px;opacity:.8; }
.widget-chat-compose { display:flex;align-items:flex-end;gap:8px; }.widget-chat-compose textarea { min-width:0;resize:none; }.widget-chat-compose button { margin:0;flex-shrink:0;font-size:12px; }
#menu-chat { border:0;background:transparent;color:inherit;position:relative;font-size:22px;cursor:pointer; }
.widget-detail { font-size:13px;margin-top:6px; }
.widget-source { display:block;font-size:10px;color:#34566f;margin-top:10px; }
.currency-row { display:flex;justify-content:space-between;gap:10px;padding:5px 0;font-size:16px; }
.widget-invites { position:fixed;right:16px;bottom:16px;z-index:500;max-height:45vh;overflow:auto;width:280px;max-width:calc(100vw - 32px);padding:14px;background:#c1e2f5e8;backdrop-filter:blur(22px);border-radius:12px;color:#143e5d; }
.widget-invite { padding:10px 0; }.widget-invite p { margin:0 0 8px; }.widget-invite button { border:0;border-radius:7px;margin-right:8px;padding:7px 12px;color:#143e5d;background:#e0f2ff; }
.desk-frozen .desk-widget .widget-heading button { display:none; }.desk-frozen .widget-heading { cursor:default; }
@media(max-width:600px){.modal-dialog { margin:14px auto; }.modal-content { max-height:calc(100vh - 28px); }.reval-edit-link .col-md-6 { width:100%;float:none; }.reval-settings .radio_buttons { gap:8px; }.widget-value { font-size:26px; }}

/* Ровные действия панели и корзина на всех размерах экрана. */
#guest-actions { display:flex;flex-direction:column;align-items:stretch;gap:8px;margin-top:10px; }
#guest-actions .ui-pop-btn { display:block;width:100%;margin:0;padding:9px 12px;text-align:left;line-height:1.4;white-space:normal; }
.trash-form { display:flex;flex-direction:column;gap:14px; }
/* Меню всегда выше предметов; общий каталог вместо сотен кнопок в плюсе. */
#main_menu { position:absolute!important;z-index:5000;max-width:calc(100vw - 16px); }
.modal { z-index:20000; }.modal-backdrop { z-index:19000; }
.ui-guest-bar { z-index:5000; }
.widget-catalog { display:flex;flex-direction:column;gap:16px; }
#social-modal:has(.widget-catalog) .modal-dialog { width:720px; }
.widget-catalog-tools { display:flex;gap:12px; }
.widget-catalog-tools input { flex:1;min-width:0; }.widget-catalog-tools select { width:180px; }
.widget-catalog-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px; }
.widget-catalog-card { display:grid;grid-template-columns:38px 1fr;gap:6px 10px;padding:16px;border:0;border-radius:12px;background:#ffffff38;color:#143e5d;text-align:left;transition:background .15s; }
.widget-catalog-card:hover { background:#ffffff70; }.widget-catalog-card strong { align-self:center;font-size:15px; }
.widget-catalog-card small { grid-column:2;font-size:12px;line-height:1.5; }.widget-catalog-icon { grid-row:span 2;font-size:28px;color:#176bae; }
.widget-back { border:0;background:transparent;color:#176bae;text-align:left;padding:0 0 4px; }
.widget-appearance { padding:14px;border-radius:12px;background:#ffffff24; }.widget-appearance summary { cursor:pointer;font-weight:600;margin-bottom:14px; }
.widget-theme-controls { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }.widget-theme-controls label { font-size:12px; }
.widget-theme-controls input[type=color] { width:100%;height:34px;border:0;padding:2px;background:transparent;cursor:pointer; }
.widget-theme-controls input[type=range] { width:100%;accent-color:#176bae; }.widget-theme-controls output { color:inherit;padding:0; }
.widget-theme-controls label:nth-child(n+4) { grid-column:span 3; }
.widget-theme-preview { margin-top:16px;padding:16px;border-radius:12px;box-shadow:0 6px 22px #103f6426; }
.desk-widget { max-height:calc(100vh - 24px);overflow:auto; }.desk-widget .widget-value { color:var(--widget-accent,currentColor); }
.desk-widget .widget-heading button,.desk-widget .widget-source,.desk-widget .widget-detail { color:inherit; }
.desk-widget .widget-source { opacity:.85;font-size:11px; }.widget-countdown { font-size:22px!important;font-variant-numeric:tabular-nums; }
.widget-calendar-nav { display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:6px;font-size:12px; }
.widget-calendar-nav button,.widget-timer-actions button { border:0;background:#ffffff35;color:inherit;border-radius:7px;padding:5px 9px; }
.widget-calendar { display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center; }.widget-calendar span { padding:4px 0;border-radius:6px; }.widget-calendar .today { background:var(--widget-accent);color:#fff; }
.widget-todo { display:flex;align-items:flex-start;gap:8px;margin:8px 0;font-weight:400;overflow-wrap:anywhere; }.widget-todo input { accent-color:var(--widget-accent);flex:none; }.widget-todo.done span { text-decoration:line-through;opacity:.65; }
.widget-timer-actions { display:flex;gap:8px;margin-top:12px; }
#main_menu .menu-notifications-item { position:relative;padding:0; }
#menu-notifications { position:relative;display:block;background:transparent;color:inherit;border:0;padding:5px 9px;font-size:22px;line-height:1.2; }
.notifications-badge { position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:2px 4px;border-radius:12px;background:#d33f49;color:#fff;font:bold 11px/14px sans-serif; }
#desk-notifications { position:fixed;z-index:6000;right:16px;top:72px;width:350px;max-width:calc(100vw - 32px);max-height:calc(100vh - 90px);overflow:auto;padding:16px;border-radius:14px;background:rgba(190,224,248,.86);backdrop-filter:blur(24px);color:#143e5d;box-shadow:0 14px 48px #103f6438; }
.notifications-heading { display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px; }.notifications-heading button { background:transparent;border:0;color:inherit;font-size:24px; }
#desk-notifications #incoming-links,#desk-notifications .widget-invites { position:static;z-index:auto;width:auto;max-width:none;max-height:none;overflow:visible;background:transparent;padding:0;border:0;box-shadow:none;backdrop-filter:none; }
#desk-notifications h3 { font-size:14px;margin:12px 0; }.widget-invite small { display:block;margin:6px 0 10px; }.widget-invite strong { display:block; }
#desk-notifications .incoming-link,#desk-notifications .widget-invite { padding:12px;background:#ffffff30;border-radius:10px;margin:8px 0; }
.notifications-empty { margin:0; }.widget-invite button:first-of-type { background:#176bae;color:#fff; }
@media(max-width:600px){.widget-catalog-tools{flex-direction:column;}.widget-catalog-tools select{width:100%;}.widget-catalog-grid{grid-template-columns:1fr;}.widget-theme-controls{gap:10px;}#desk-notifications{top:64px;max-height:calc(100vh - 80px);}}
@media(prefers-reduced-transparency:reduce){.desk-widget,.widget-theme-preview{backdrop-filter:none!important;background:#d5e9f7!important;color:#143e5d!important;}#desk-notifications{background:#d5e9f7;backdrop-filter:none;}}
@media(prefers-reduced-motion:reduce){.widget-catalog-card{transition:none;}}
.trash-row { display:flex;flex-direction:column;gap:7px;overflow-wrap:anywhere;padding:12px;background:#ffffff26;border-radius:10px; }
.trash-row strong { font-size:16px;font-weight:500; }.trash-row small { color:#315570;line-height:1.4; }
.trash-actions { display:flex;flex-wrap:wrap;gap:8px;margin-top:3px; }.trash-actions .btn { margin:0;white-space:normal; }
.trash-empty-all { align-self:flex-end; }.trash-empty { margin:0;padding:8px 0; }
.social-form > .btn + .btn { margin-left:8px; }

/* Настройки оформления стола, запрос Егорки 15.10.2026. */
.desk-appearance-controls { clear:both;display:flex;flex-direction:column;gap:14px;padding:0 22px 20px; }
.desk-appearance-controls label { display:flex;align-items:center;gap:10px;flex-wrap:wrap; }
.desk-appearance-controls input[type=color] { width:64px;height:38px;padding:2px;border:0;background:transparent;cursor:pointer; }
.desk-appearance-controls input[type=range] { width:100%;cursor:pointer; }
.desk-appearance-controls output { color:inherit;padding:0;margin-left:auto; }
.desk-appearance-controls button { align-self:flex-start; }
body.desk-custom-radius .link-box:not(.friend-desk-card), body.desk-custom-radius .folders-link-mini:not(.friend-desk-card) { border-radius:var(--desk-link-radius)!important; }
body.desk-custom-radius .link-box:not(.friend-desk-card) .link-a { border-radius:inherit;overflow:hidden; }
body.desk-custom-radius .folders-link-mini:not(.friend-desk-card) { overflow:hidden; }
.desk-sticker { display:flex;flex-direction:column;min-width:140px;min-height:80px;max-width:calc(100vw - 16px); }
.desk-sticker .sticker-text { flex:1;min-height:0;max-height:none;overflow:auto;padding-right:40px; }
.desk-sticker .sticker-meta { flex-shrink:0;padding-right:6px; }
.sticker-edit { position:absolute;top:4px;right:30px;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border:0;border-radius:6px;background:transparent;color:#174b6d;font-size:18px;cursor:pointer;opacity:.8; }
.sticker-edit:hover,.sticker-edit:focus { background:#c4e6fb;color:#075184; }
.sticker-sizes { display:flex;gap:12px;flex-wrap:wrap;margin:12px 0; }
.sticker-sizes label { flex:1;min-width:110px; }
.desk-sticker .ui-resizable-se { right:2px;bottom:2px;width:14px;height:14px;border-right:2px solid #174b6d;border-bottom:2px solid #174b6d;background:none;opacity:.65; }
.desk-frozen .sticker-edit { display:none!important; }
.sticker-size-note { display:none; }
@media(max-width:767px){.desk-sticker{height:auto!important;}.desk-sticker .sticker-text{max-height:300px;}.sticker-edit{opacity:1;width:28px;height:28px;right:34px;}.desk-sticker .ui-resizable-handle{display:none!important;}.sticker-size-note{display:block;}}
/* Переключатель остаётся внизу настроек и переносит длинный текст на телефоне. */
#desk-test-mode-panel[hidden] { display:none !important; }
#desk-test-mode-panel { margin-top:20px; padding-top:16px; border-top:1px solid rgba(255,255,255,.25); overflow-wrap:anywhere; }
.desk-test-mode-label { display:flex; align-items:center; gap:10px; min-height:44px; cursor:pointer; font-weight:600; }
#desk-test-mode { position:static; opacity:1; width:20px; height:20px; flex:0 0 20px; margin:0; cursor:pointer; }
#desk-test-mode-help, #desk-test-mode-status { font-size:14px; line-height:1.5; }
