/* modern.css - desktop restyle layered over main.css. Active only with <body class="mod">. ASCII only (page is cp1251). */
body.mod{
  --ac:#3366bb;--ac-d:#2a5bb6;--btn:#ff9b4a;--btn-d:#ff7200;--tx:#1b2230;--mu:#667286;--ln:#dde4ef;--ln2:#c4cfe0;
  --bg:#eef2f8;--soft:#e3ebf7;--link:#003e93;--r:16px;--ok:#2fb170;--card:#fff;--field:#fff;--tx2:#2e3a4e;
  background:var(--bg);color:var(--tx);
  font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
body.mod :is(p,div,table,tr,td,a,ul,ol,dl,dt,li,h1,h2,h3,h4,input,textarea,select,label,span){font-family:inherit}
body.mod :is(p,div,table,tr,td,li,input,textarea,select,label){font-size:14px}
body.mod a{color:var(--tx);text-decoration:none}
body.mod a:hover{text-decoration:underline}
body.mod h1,body.mod h2{color:var(--tx)}
body.mod .ic_user_action,
body.mod #l_header div a::before,
body.mod .gallery-add::before{font-family:"Material Design Icons";font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased}
body.mod > a[href="/gallery.php?extra_param=up"]{
  float:left;width:46px;height:46px;margin:16px 4px 16px 16px;display:grid;place-items:center;
  background:var(--soft);border-radius:14px;color:var(--ac);text-decoration:none}
body.mod > a[href="/gallery.php?extra_param=up"]::before{content:"\F0415";font:400 28px/1 "Material Design Icons"}
body.mod > a[href="/gallery.php?extra_param=up"]:hover{background:#d3e0f3}
body.mod .gallery_new{height:92px;margin:12px 16px 4px 72px;padding:6px;border:1px solid var(--ln);border-radius:var(--r);background:var(--card);box-sizing:border-box}
body.mod .gallery_new{display:flex;flex-wrap:nowrap;overflow:hidden;gap:6px}
body.mod .gallery_new > div{float:none;flex:none}
body.mod .gallery_new div a{margin:0}
body.mod .gallery_new div a img{width:78px;height:78px;border-radius:10px;object-fit:cover;transition:transform .15s}
body.mod .gallery_new div a:hover img{transform:scale(1.04)}
/* page frame: header strip, left column + content card, footer (plain blocks, no tables) */
body.mod #header{display:flex;align-items:center;gap:16px;margin-top:12px;padding:0 16px}
body.mod #l_header{flex:0 0 292px;padding-bottom:1px}
body.mod #r_header{flex:1 1 0;min-width:0;display:flex;flex-wrap:wrap;gap:8px 0}
body.mod #l_header div a{display:inline-flex;align-items:center;gap:8px;padding:8px 16px;background:var(--card);border:1px solid var(--ln);border-radius:12px;font-size:15px;font-weight:600;text-decoration:none}
body.mod #l_header div a::before{content:"\F06A1";font-size:20px;color:var(--ac)}
body.mod #l_header div a:hover{border-color:var(--ac)}
body.mod #r_header > span{display:inline-flex;align-items:center;vertical-align:middle;height:34px;box-sizing:border-box;line-height:1;gap:6px;margin:0 8px 0 0;padding:0 14px !important;background:var(--card);border:1px solid var(--ln);border-radius:999px;color:var(--mu);font-size:13px;white-space:nowrap}
body.mod #r_header > span a{margin:0;padding:0;line-height:1;font-size:14px !important;font-weight:700;color:var(--tx);text-decoration:none}
body.mod #r_header > span a:hover{color:var(--ac)}
body.mod #stat_now_on_site::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 3px rgba(47,177,112,.2)}
body.mod #middle{display:grid;grid-template-columns:292px minmax(0,1fr);gap:16px;padding:8px 16px}
body.mod #l_middle{min-width:0}
body.mod #r_middle{min-width:0;padding:8px 24px 20px;background:var(--card);border:1px solid var(--ln);border-radius:var(--r);box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod :where(#r_middle) a{color:var(--link)}
body.mod input[type=submit],body.mod .nice_button{height:38px;padding:0 22px;margin-top:0;background:var(--btn);border:0;border-radius:10px;color:#fff;font-size:14px;font-weight:600;text-transform:none;letter-spacing:0;font-family:inherit}
body.mod input[type=submit]:hover,body.mod .nice_button:hover{background:var(--btn-d);box-shadow:none;opacity:1}
body.mod p.hello{font-size:14px;font-weight:600;color:var(--tx);padding:14px 0 10px;line-height:1.3}
body.mod .preview_female img,body.mod .preview_male img,body.mod .preview_na img,body.mod .preview_system img{border-radius:12px;object-fit:cover}
body.mod .preview_system img{width:80px;height:80px;border-color:var(--ac);border-radius:12px;object-fit:cover}
body.mod .preview_female img{border-color:#ffc1d2}
body.mod .preview_male img{border-color:#cfe0f5}
body.mod #l_middle > div[style*="padding"]{padding:0 !important}
body.mod table#join{width:100%;height:auto;margin-top:12px;background:var(--card);border:1px solid var(--ln);border-radius:var(--r);border-collapse:separate;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod table#user_menu{width:calc(100% - 12px);margin:6px}
body.mod table#user_menu tr td{padding:5px 10px;border-radius:10px;line-height:1.3;font-size:14px}
body.mod table#user_menu tr td:hover{background:var(--bg)}
body.mod table#user_menu tr td a{text-decoration:none;color:var(--tx)}
body.mod table#user_menu tr td a:hover{color:var(--ac)}
body.mod table#user_menu tr td#td_mail{font-weight:600}
body.mod table#user_menu a.highlight{color:var(--ac);font-weight:600}
body.mod table#user_menu #divmymsgs{color:var(--ac);font-weight:700}
body.mod table#user_menu td#td_exit{padding-right:10px}
body.mod .ic_user_action{width:22px;height:22px;background:none;margin-right:10px;color:var(--mu);font-size:20px;line-height:22px;text-align:center;vertical-align:middle;display:inline-block}
body.mod .ic_user_action.exit,body.mod .ic_user_action.sound_on,body.mod .ic_user_action.sound_off{margin-right:0;margin-left:10px}
body.mod .ic_user_action.invisible::before{content:"\F04E0";color:var(--ok)}
body.mod .ic_user_action.visible::before{content:"\F02AA"}
body.mod .ic_user_action.settings::before{content:"\F08BB"}
body.mod .ic_user_action.message::before{content:"\F01F0"}
body.mod .ic_user_action.profile::before{content:"\F09ED"}
body.mod .ic_user_action.vip::before{content:"\F11D0";color:var(--btn)}
body.mod .ic_user_action.android::before{content:"\F0032"}
body.mod .ic_user_action.mobile::before{content:"\F011C"}
body.mod .ic_user_action.help::before{content:"\F0625"}
body.mod .ic_user_action.exit::before{content:"\F0206"}
body.mod .ic_user_action.sound_on::before{content:"\F057E"}
body.mod .ic_user_action.sound_off::before{content:"\F0581"}
body.mod a:hover .ic_user_action{color:var(--ac)}
body.mod #l_middle div[style*="164px"]{width:auto !important;margin:12px 0 0 !important;padding:8px !important;border:1px solid var(--ln) !important;border-radius:var(--r);background:var(--card);display:grid;grid-template-columns:1fr 1fr;gap:6px;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod #l_middle div[style*="164px"] br{display:none}
body.mod #l_middle div[style*="164px"] .balloon_caption{padding:0;display:block}
body.mod #l_middle div[style*="164px"] .balloon_caption img{width:100%;height:auto;aspect-ratio:1;border-radius:10px;object-fit:cover;display:block}
body.mod #l_middle a.gal_add{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:8px;padding:10px;border:1px dashed var(--ln2);border-radius:12px;color:var(--ac);font-weight:600;text-decoration:none}
body.mod #l_middle a.gal_add::before{content:"\F0415";font:400 18px/1 "Material Design Icons"}
body.mod #l_middle a.gal_add::after{content:"\0414 \043E \0431 \0430 \0432 \044C  \0441 \0435 \0431 \044F "}
body.mod #l_middle a.gal_add:hover{border-color:var(--ac);background:var(--soft)}
body.mod table#add_menu{margin:16px 0 8px}
body.mod table#add_menu tr td{font-size:13px}
body.mod table#add_menu a{color:var(--mu);text-decoration:underline}
body.mod table#tabs img[src$="/pics/1.gif"],body.mod table#search img[src$="/pics/1.gif"],body.mod table#tab_content img[src$="/pics/1.gif"],body.mod table#myprofile img[src$="/pics/1.gif"],body.mod table#search_on img[src$="/pics/1.gif"],body.mod table#search_off img[src$="/pics/1.gif"],body.mod table#meetengs img[src$="/pics/1.gif"]{display:none}
body.mod table#tabs{margin:4px 0 10px;border-bottom:1px solid var(--ln2)}
body.mod table#tabs tr td.tab_active,body.mod table#tabs tr td.tab_passive,body.mod table#tabs tr td.tab_empty{background:none;vertical-align:bottom}
body.mod table#tabs table.tab_design tr:first-child,body.mod table#tabs table.tab_design tr:last-child{display:none}
body.mod table#tabs table.tab_design td:not(.tab_header){display:none}
body.mod table#tabs tr td table.tab_design tr td.tab_header{padding:0 20px 0 0}
body.mod table#tabs tr td table.tab_design tr td.tab_header h1{padding:10px 2px;font-size:15px;font-weight:600;color:var(--mu);display:block;white-space:nowrap;text-align:left}
body.mod table#tabs td.tab_header h1 a{padding:0;font-size:15px;font-weight:600;color:var(--mu);text-decoration:none;display:inline}
body.mod table#tabs td.tab_active td.tab_header h1{color:var(--tx);background:linear-gradient(var(--ac),var(--ac)) left bottom/100% 3px no-repeat}
body.mod table#tabs td.tab_header h1 a:hover{color:var(--ac)}
body.mod table#tabs td.tab_empty{width:100%}
body.mod table#search{background:var(--card);border:1px solid var(--ln);border-radius:var(--r);border-collapse:separate;overflow:hidden;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod table#search td.bl_2,body.mod table#search td.br_2{display:none}
body.mod table#search > tbody > tr:last-child,body.mod table#search > tr:last-child{display:none}
body.mod table#search tr td.content{padding:14px 20px 12px;background:none}
body.mod table.tab_form{width:auto;margin-bottom:4px}
body.mod table#search form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 18px}
body.mod table#search form table.tab_form:nth-of-type(3){flex-basis:100%;margin-top:6px}
body.mod table#search form table.tab_form:nth-of-type(3) tr{display:flex;flex-wrap:wrap;align-items:center;gap:4px 22px}
body.mod table#search form table.tab_form:nth-of-type(3) td{display:block;width:auto !important;padding:2px 0;white-space:nowrap}
body.mod table#search form table.tab_form:nth-of-type(3) td:empty{display:none}
body.mod table#search form table.tab_form:nth-of-type(3) label{margin-right:18px}
body.mod table.tab_form tr td.label,body.mod td.label{font-size:12px;font-weight:600;color:var(--mu);padding:4px 8px 2px 0;text-align:left}
body.mod table.tab_form tr td.field{padding:2px 10px 2px 0}
body.mod input[type=text],body.mod input[type=password],body.mod select,body.mod textarea{height:38px;padding:0 12px;border:1px solid var(--ln2);border-radius:10px;background:var(--field);color:var(--tx);font-size:14px;box-sizing:border-box;outline:0;transition:border-color .12s,box-shadow .12s}
body.mod textarea{height:auto;padding:8px 12px}
body.mod input[type=text]:focus,body.mod input[type=password]:focus,body.mod select:focus,body.mod textarea:focus{border-color:var(--ac);box-shadow:0 0 0 3px rgba(51,102,187,.18)}
body.mod input#field_search_age_from,body.mod input#field_search_age_to{width:58px;text-align:center;padding:0 6px}
body.mod select#city_name{min-width:260px}
body.mod input.flat.orange.search{height:38px !important;padding:0 24px;margin:0;background:var(--btn);border:0;border-radius:10px;color:#fff;font-size:14px;font-weight:600;letter-spacing:0;text-transform:none;font-family:inherit}
body.mod input.flat.orange.search:hover,body.mod input.flat.orange.search:focus{background:var(--btn-d);box-shadow:none;opacity:1}
body.mod table#search input[type=checkbox],body.mod table#search input[type=radio]{accent-color:var(--ac);width:16px;height:16px;vertical-align:-3px;margin-right:6px}
body.mod table#search label{color:var(--tx);cursor:pointer;margin-right:14px}
body.mod table#tab_content,body.mod table#myprofile,body.mod table#search_on,body.mod table#search_off,body.mod table#meetengs{background:var(--card);border:1px solid var(--ln);border-radius:var(--r);border-collapse:separate;overflow:hidden;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod table#tab_content td.bl_2,body.mod table#tab_content td.br_2,body.mod table#myprofile td.bl_2,body.mod table#myprofile td.br_2,body.mod table#search_on td.bl_2,body.mod table#search_on td.br_2,body.mod table#search_off td.bl_2,body.mod table#search_off td.br_2,body.mod table#meetengs td.bl_2,body.mod table#meetengs td.br_2{display:none}
body.mod table#tab_content > tbody > tr:last-child,body.mod table#myprofile > tbody > tr:last-child,body.mod table#search_on > tbody > tr:last-child,body.mod table#search_off > tbody > tr:last-child,body.mod table#meetengs > tbody > tr:last-child{display:none}
body.mod table#tab_content tr td.content,body.mod table#myprofile tr td.content,body.mod table#search_on tr td.content,body.mod table#search_off tr td.content,body.mod table#meetengs tr td.content{background:none;padding:14px 20px}
body.mod :is(#tab_content,#myprofile,#search_on,#search_off,#meetengs) td > p:first-child{padding-top:0}
body.mod :is(#tab_content,#myprofile,#search_on,#search_off,#meetengs) td > p:last-child{padding-bottom:0}
body.mod :is(#tab_content,#myprofile,#search_on,#search_off,#meetengs) td.content > table.tab_form:last-child{margin-bottom:0}
body.mod table#tab_content:has(> tbody > tr > td.content > img:only-child){display:none}
body.mod .top_up{width:auto;max-width:560px;margin:14px 0;padding:12px 16px;background:var(--soft);border:0;border-radius:var(--r)}
body.mod .top_up p{padding:0 12px 0 0;color:var(--tx)}
body.mod .top_up a.buy{height:38px;line-height:38px;padding:0 24px;background:var(--btn);border-radius:10px;font-size:15px;font-weight:600;text-decoration:none;color:#fff}
body.mod .top_up a.buy:hover{background:var(--btn-d)}
body.mod #r_middle > h1{margin-top:8px;padding:12px 0 6px;font-size:18px;font-weight:700;line-height:1.35;max-width:720px}
body.mod #r_middle > p{max-width:720px;padding:2px 0 12px;line-height:1.6;color:var(--tx2)}
body.mod #r_middle > p a{color:var(--link)}
body.mod table#new_faces{margin:14px 0 16px}
body.mod table#new_faces h2{padding:12px 0 10px;font-size:20px;font-weight:700}
body.mod table#new_faces tr td.b_female,body.mod table#new_faces tr td.b_male{height:3px;background-image:none;border-radius:3px}
body.mod table#new_faces tr td.b_female{background-color:#ffb6c8}
body.mod table#new_faces tr td.b_male{background-color:#b9d3f2}
body.mod table#new_faces tr td#females{padding:16px 10px 8px 0}
body.mod table#new_faces tr td#males{padding:16px 0 8px 10px}
body.mod table.female,body.mod table.male{background:var(--card);border:1px solid var(--ln);border-radius:14px;border-collapse:separate;margin-bottom:12px;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod table.female tr td.c_female,body.mod table.male tr td.c_male{padding:12px;line-height:1.5}
body.mod table.female a,body.mod table.male a{font-weight:700;font-size:15px}
body.mod table.female a:hover,body.mod table.male a:hover{color:var(--ac)}
body.mod table.f_foto,body.mod table.m_foto{margin-right:12px}
body.mod .comment{color:#8c9098}
body.mod img.i_gender{width:15px;height:15px}
body.mod table#message_folders td.fi{width:38px;text-align:center;vertical-align:middle}
body.mod table#message_folders td.fi::before{font:400 22px/1 "Material Design Icons";color:var(--mu);display:inline-block;vertical-align:middle}
body.mod table#message_folders td.fi_Folder_Income::before{content:"\F10B6"}
body.mod table#message_folders td.fi_Folder_Favorite::before{content:"\F04D2"}
body.mod table#message_folders td.fi_Folder_Blocked::before{content:"\F073A"}
body.mod table#message_folders td.fi_Folder_Deleted::before{content:"\F09E7"}
body.mod table#message_folders td.fi_Folder_User::before{content:"\F0256"}
body.mod table#message_folders th{border:0;border-bottom:1px solid var(--ln2);padding:6px 8px;font-size:12px;font-weight:600;color:var(--mu);text-align:left}
body.mod table#message_folders td{border-top:1px solid var(--ln);padding:9px 8px}
body.mod table#message_folders td a{font-weight:400}
body.mod table#message_folders td.selected{background:var(--soft)}
body.mod .info_box,body.mod p.info_box{background:#e4f4ea;border:0;border-radius:12px;padding:12px 16px !important;color:#1f6b3f;line-height:1.5}
body.mod .balloonstyle td > div > a{display:block;margin-bottom:2px;font-weight:600}
body.mod #footer{padding:17px 16px 16px calc(max(25%,260px) + 16px)}
body.mod #footer,body.mod #footer div{font-size:13px;font-weight:600;color:var(--mu)}
body.mod #footer a{color:var(--mu)}
body.mod #footer_top{display:flex;align-items:flex-start}
body.mod #footer_share{padding:16px}
body.mod #footer_links{margin-left:auto;padding:16px;text-align:right}
body.mod #footer_info{min-height:1.5em;padding:16px;text-align:right}
/* "install the app" banner for Android (shown by main.js) */
body.mod #androidVersion .android_bar{display:flex;align-items:center;height:128px}
body.mod #androidVersion .android_close{display:flex;align-items:center;flex:0 0 96px}
body.mod #androidVersion .android_logo{display:flex;align-items:center;flex:0 0 128px}
body.mod #androidVersion .android_text{flex:1 1 auto;color:#fff;line-height:28px}
body.mod #androidVersion .android_title{font-size:32px}
body.mod #androidVersion .android_sub{font-size:24px}
body.mod table#system_message{background:var(--card);border:1px solid var(--ln);border-radius:var(--r);border-collapse:separate;overflow:hidden;box-shadow:0 1px 2px rgba(28,29,33,.04);margin-bottom:12px}
body.mod table#system_message > tbody > tr:first-child,body.mod table#system_message > tbody > tr:last-child,body.mod table#system_message td.bl_3,body.mod table#system_message td.br_3{display:none}
body.mod table#system_message tr td.content{padding:14px 20px;background:none}
/* system message icon (was ico.sys.gif, 85px) */
body.mod i.i_ico_sys{display:block;font-size:42px;line-height:1;margin:0 14px 0 4px;color:var(--ac)}
body.mod .sys_msg{border-color:var(--ac)}
body.mod table#system_message td.sm_content{vertical-align:middle}
body.mod table#system_message td.sm_content p{margin:0;padding:0 0 4px}
body.mod table#system_message td.sm_content p:last-child{padding-bottom:0}
/* theme switch in the interface settings */
body.mod .theme-switch{display:inline-flex;gap:6px;padding:4px;border-radius:12px;background:var(--bg);border:1px solid var(--ln)}
body.mod .theme-switch button{margin:0;padding:7px 18px;border:0;border-radius:9px;background:transparent;color:var(--mu);font:inherit;font-size:14px;line-height:1.2;cursor:pointer}
body.mod .theme-switch button:hover{color:var(--tx)}
body.mod .theme-switch button.is-active{background:var(--soft);color:var(--tx);font-weight:600;box-shadow:inset 0 0 0 1px var(--ac)}
body.mod .theme-hint{margin-top:6px;color:var(--mu);font-size:13px}
/* VIP crown next to the name (edit_home, anketa) */
body.mod a.i_vip{display:flex;align-items:center;justify-content:center;height:20px;padding:0;margin:0;text-decoration:none}
body.mod a.i_vip::before{content:"\F11D0";font:400 20px/20px "Material Design Icons";color:var(--btn)}
body.mod td.description h1:has(> a.i_vip){display:flex;align-items:center;gap:6px}
/* anketa header: all status icons (real, vip, raised, headset, webcam) on one line with the name */
body.mod td.tab_icons td.tab_header > a,body.mod td.tab_icons td.tab_header > i,body.mod td.tab_icons td.tab_header > span{display:inline-flex;align-items:center;justify-content:center;height:20px;margin:0;padding:0 6px 0 0;vertical-align:middle;text-decoration:none;position:relative;top:-10px}
body.mod td.tab_icons td.tab_header > a > img{width:20px;height:20px;margin:0;padding:0}
body.mod td.tab_icons td.tab_header > i.mdi{width:auto;font-size:20px;line-height:20px}
body.mod td.tab_icons td.tab_header .i_rocket::before{font-size:20px;line-height:20px}
/* white gender icons are invisible on the light theme */
:root[data-theme="light"] body.mod img.i_gender[src*="_white"]{filter:invert(1)}
/* rocket instead of the "raised" gif next to the name in search lists */
body.mod .i_rocket{display:inline-block;vertical-align:middle;line-height:1}
body.mod .i_rocket::before{content:"\F14DF";font:400 22px/1 "Material Design Icons";color:var(--btn)}
/* gender glyph at the size of the VIP crown (edit_home, anketa, compliment) */
body.mod i.i_gender.lg{width:20px;height:20px}
body.mod strong > i.i_gender.lg{position:relative;top:-1px}

/* meetings search: HTML button instead of the b_search.png image */
body.mod #button_search_submit{width:auto;height:38px;margin-top:14px;padding:0 24px}
/* gallery.php: own photo with the same rounding as other photos */
body.mod .gallery_me img{border-radius:12px;object-fit:cover;display:block}
/* the number of new messages in the folder table (messages.php) */
body.mod table#message_folders td > strong{color:var(--ac)}

/* left column without tables: login card, user menu, "join" card, announce */
body.mod :is(.lc_auth,.lc_guest){border:1px solid var(--ln);border-radius:var(--r);background:var(--card);overflow:hidden;box-shadow:0 1px 2px rgba(28,29,33,.04);font-size:13px;color:var(--tx)}
body.mod .lc_auth{padding:0 16px 14px}
body.mod .lc_guest{padding:4px 16px 24px}
body.mod .lc_reg{padding:4px 16px 24px;border:1px solid;border-radius:8px}
body.mod :is(.lc_auth,.lc_guest) p.hello{font-size:13px;font-weight:600;line-height:1.3;padding:14px 0 10px;color:var(--tx)}
body.mod .lc_top{display:flex;align-items:center;font-size:13px}
body.mod .lc_top p.hello{flex:1 1 auto;min-width:0}
body.mod .lc_icons{display:flex;white-space:nowrap;font-size:13px}
body.mod .lc_icons a.vip_st,body.mod .lc_icons a:has(> .ic_user_action){position:relative;display:inline-grid;place-items:center;width:30px;height:30px;margin-left:2px;border-radius:50%;text-decoration:none}
body.mod .lc_icons a.vip_st:hover,body.mod .lc_icons a:has(> .ic_user_action):hover{background:var(--bg)}
body.mod .lc_icons a.vip_st::before{content:"\F11D0";font:400 21px/1 "Material Design Icons";color:var(--btn)}
body.mod .lc_icons a.vip_st.off::before{color:#b0b4bc}
body.mod .lc_icons .ic_user_action.sound_on,body.mod .lc_icons .ic_user_action.sound_off{width:auto;height:auto;margin:0;font-size:21px;line-height:1}
body.mod .lc_icons .ic_user_action.sound_on{color:var(--mu)}
body.mod .lc_icons .ic_user_action.sound_off{color:#b0b4bc}
body.mod #login_data{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;font-size:13px}
body.mod .lc_photo{font-size:13px}
body.mod .lc_stats{padding-left:14px;font-size:13px}
body.mod .lc_stats p{padding:0 0 8px;line-height:1.45;font-size:13px;color:var(--tx)}
body.mod .lc_stats a{font-size:13px;font-weight:600;color:var(--link)}
body.mod .lc_up{grid-column:1/-1;font-size:13px}
body.mod #login_data a[href^="/maketop.php"]{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:6px;padding:9px 14px;background:var(--btn);color:#fff !important;border-radius:10px;font-size:14px !important;font-weight:600;text-decoration:none}
body.mod #login_data a[href^="/maketop.php"]::before{content:"\F14DF";font:400 18px/1 "Material Design Icons"}
body.mod #login_data a[href^="/maketop.php"]:hover{background:var(--btn-d)}
body.mod .lc_form{display:grid;grid-template-columns:auto minmax(0,1fr);width:100%;align-items:center}
body.mod .lc_form > div{color:#595959 !important;font-size:12px}
body.mod .lc_guest .lc_form > div{font-size:13px}
/* the old table gave the label column a share (1.6px) of the free width */
body.mod .lc_guest .lc_label{padding-right:1.6px}
body.mod .lc_form > .field{padding:2px 6px 2px 0}
body.mod .lc_foot{display:flex;align-items:center;justify-content:space-between}
body.mod .lc_foot_in{grid-column:1 / -1;padding-top:24px}
body.mod .lc_foot_out{margin-top:24px}
body.mod #join{margin-top:12px;padding:8px;border:1px solid var(--ln);border-radius:var(--r);background:var(--card);box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod #user_menu .um_row{padding:5px 10px;border-radius:10px;line-height:1.3;font-size:14px;text-align:left}
body.mod #user_menu .um_row:hover{background:var(--bg)}
body.mod #user_menu .um_row a{font-size:12px;text-decoration:none;color:var(--tx)}
body.mod #user_menu .um_row a:hover{color:var(--ac)}
body.mod #user_menu .um_mail{font-weight:600}
body.mod #user_menu .um_vip{line-height:16px}
body.mod #user_menu a.highlight{color:var(--ac);font-weight:600}
body.mod #user_menu #divmymsgs{color:var(--ac);font-weight:700}
body.mod #user_menu .um_pair{display:flex}
body.mod #user_menu .um_pair .um_row{flex:1 1 auto}
body.mod #user_menu .um_exit{text-align:right}
body.mod #add_menu{margin:16px 0 8px;padding:4px 24px;font-size:13px}
body.mod #add_menu a{color:var(--mu);text-decoration:underline}
body.mod #announce{display:flow-root;box-sizing:border-box;width:90%;margin:24px 12px;padding:0 32px}
body.mod #no_join{padding-top:1px}
body.mod div.adverting{width:100%;padding:0}
body.mod div.adverting h2{text-align:center;font-size:105%;padding:0;margin:0;color:#6b6b6b}
body.mod div.adverting h1{text-align:center;font-size:130%;padding:0;margin:0}
body.mod div.adverting h2 span.highlight{color:var(--ac);font-weight:bold;white-space:nowrap}
/* photo frames (lib/photo_frame.tpl) without tables: the frame is 86x86, the picture sits in the middle */
div.f_foto,div.m_foto{width:86px;height:86px;margin:0 4px 0 0;float:left;display:flex}
div.f_foto > div,div.m_foto > div{display:flex;align-items:center;justify-content:center;flex:1 1 auto;min-width:0}
td.foto div.f_foto,td.foto div.m_foto{margin:0}
table#leader_graph_photo div.f_foto,table#leader_graph_photo div.m_foto{margin:0}
body.mod div.f_foto,body.mod div.m_foto{margin-right:12px}

/* index.tpl without tables: the search box ... */
body.mod div#search{padding:16px 22px 14px;background:var(--card);border:1px solid var(--ln);border-radius:var(--r);overflow:hidden;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod div#search form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 18px}
body.mod div#search .sf_grp{margin-bottom:4px}
body.mod div#search .sf_grp:not(.sf_where){display:flex}
body.mod div#search .sf_line{display:flex}
body.mod div#search .sf_label{font-size:12px;font-weight:600;color:var(--mu);padding:4px 8px 2px 0;text-align:left}
body.mod div#search .sf_field{padding:2px 10px 2px 0;text-align:left}
body.mod div#search .sf_checks{flex-basis:100%;margin:8px 0 4px}
body.mod div#search .sf_checks .sf_line{flex-wrap:wrap;align-items:center;gap:4px 22px}
body.mod div#search .sf_cell{padding:2px 0;white-space:nowrap;text-align:left}
body.mod div#search .sf_line_first .sf_cell{padding-bottom:8px}
body.mod div#search .sf_cell + .sf_cell{padding-left:12px}
body.mod div#search label{margin:0 18px 0 0;color:var(--tx);cursor:pointer}
body.mod div#search input[type=checkbox],body.mod div#search input[type=radio]{accent-color:var(--ac);width:16px;height:16px;vertical-align:-3px;margin-right:6px}
/* ... and the list of new faces */
body.mod div#new_faces{margin:14px 0 16px}
body.mod div#new_faces h2{padding:12px 0 10px;font-size:20px;font-weight:700}
body.mod div#new_faces .nf_bars,body.mod div#new_faces .nf_cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
body.mod div#new_faces .nf_bars > div{height:4px;border-radius:3px}
body.mod div#new_faces .b_female{background-color:#ffb6c8}
body.mod div#new_faces .b_male{background-color:#b9d3f2}
body.mod div#new_faces .nf_cols{align-items:start}
body.mod div#new_faces #females{padding:16px 10px 8px 0}
body.mod div#new_faces #males{padding:16px 0 8px 10px}
body.mod div.female,body.mod div.male{display:flow-root;padding:14px;background:var(--card);border:1px solid var(--ln);border-radius:14px;margin-bottom:12px;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod div.c_female,body.mod div.c_male{line-height:1.5}
body.mod div.female a,body.mod div.male a{font-weight:700;font-size:15px}
body.mod div.female a:hover,body.mod div.male a:hover{color:var(--ac)}

/* edit_home.tpl without tables: tabs, profile card, compliments, folder tabs, frame of the form */
body.mod div#tabs{display:flex;align-items:flex-end;margin:4px 0 10px;border-bottom:1px solid var(--ln2)}
body.mod div#tabs > div{padding:0 20px 0 0}
body.mod div#tabs > .tab_empty{flex:1 1 auto}
body.mod div#tabs h1{padding:10px 2px;font-size:15px;font-weight:600;color:var(--mu);display:block;white-space:nowrap;text-align:left}
body.mod div#tabs h1 a{padding:0;font-size:15px;font-weight:600;color:var(--mu);text-decoration:none;display:inline}
body.mod div#tabs > .tab_active h1{background:linear-gradient(var(--ac),var(--ac)) left bottom/100% 3px no-repeat}
body.mod div#tabs h1 a:hover{color:var(--ac)}
body.mod div.eh_card{padding:14px 20px;background:var(--card);border:1px solid var(--ln);border-radius:var(--r);overflow:hidden;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod div.eh_head{display:grid;grid-template-columns:auto auto;align-items:start;width:fit-content;text-align:left}
body.mod div.eh_photos{display:flex;align-items:flex-start}
body.mod div.eh_head .foto{padding:0 4px 0 0}
body.mod div.eh_head .description{padding:0 0 0 16px}
body.mod div.eh_head .description h1{padding-top:0}
body.mod div.eh_head .description h1:has(> a.i_vip){display:flex;align-items:center;gap:6px}
body.mod div.eh_info{padding-top:16px}
body.mod div.eh_head .eh_links{padding-top:16px}
body.mod div.eh_info p,body.mod div.eh_links p{padding:4px 0 0 0}
body.mod #tab_content :is(.eh_info,.eh_links) > p:first-child{padding-top:0}
div.gifts{display:flex;align-items:flex-start}
div.gifts_grid{display:grid;grid-template-columns:repeat(10,auto);align-items:center}
div.form_frame{--fl:#ccc;display:flex;width:100%;margin:0;padding:0}
div.form_frame > div{flex:none;background-color:white;background-repeat:no-repeat;background-position:top}
div.form_frame > .ba1{position:relative;overflow:hidden;width:4px;height:38px}
div.form_frame > .ba1::after,div.form_frame > .ba6::after{content:"";position:absolute;top:36px;width:4px;height:4px;box-sizing:border-box;border-top:1px solid var(--fl)}
div.form_frame > .ba1::after{left:0;border-left:1px solid var(--fl);border-top-left-radius:4px}
div.form_frame > .ba6::after{right:0;border-right:1px solid var(--fl);border-top-right-radius:4px}
div.form_frame > .ba2{width:12px;height:38px;background-image:linear-gradient(var(--fl),var(--fl));background-size:100% 1px;background-position:0 36px;background-repeat:no-repeat}
div.form_frame > .ba3{width:6px;height:38px;background-image:linear-gradient(var(--fl),var(--fl));background-size:2px 1px;background-position:0 36px;background-repeat:no-repeat}
div.form_frame > .ba4{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;min-width:108px;height:38px;margin:0 -4px;padding:0 3px;border:1px solid var(--fl);border-top-color:var(--fl);border-bottom:0;border-radius:3px 3px 0 0;background-clip:padding-box;clip-path:inset(0 0 1px 0)}
div.form_frame > .ba5{width:6px;height:38px;background-image:linear-gradient(var(--fl),var(--fl));background-size:2px 1px;background-position:4px 36px;background-repeat:no-repeat}
div.form_frame > .ba2_1{display:flex;flex-direction:column;justify-content:center;min-width:100px;height:38px;background-image:linear-gradient(var(--fl),var(--fl));background-size:100% 1px;background-position:0 36px;background-repeat:no-repeat}
div.form_frame > .ba2_2{flex:1 1 auto;height:38px;background-image:linear-gradient(var(--fl),var(--fl));background-size:100% 1px;background-position:0 36px;background-repeat:no-repeat}
div.form_frame > .ba6{position:relative;overflow:hidden;width:4px;height:38px}
div.form_frame > .ba9{width:4px;height:4px;box-sizing:border-box;border-left:1px solid var(--fl);border-bottom:1px solid var(--fl);border-bottom-left-radius:4px}
div.form_frame > .ba8{flex:1 1 auto;height:4px;box-sizing:border-box;border-bottom:1px solid var(--fl)}
div.form_frame > .ba7{width:4px;height:4px;box-sizing:border-box;border-right:1px solid var(--fl);border-bottom:1px solid var(--fl);border-bottom-right-radius:4px}
div.form_frame > :is(.ba2_1,.ba4) h1{text-align:center;padding:4px 12px 4px 12px;white-space:nowrap}
div.form_box{width:100%;margin:0;padding:16px;box-sizing:border-box;background-color:#FFFFFF;border-left:1px solid #CCCCCC;border-right:1px solid #CCCCCC}
/* the balloon of a compliment (hidden until the mouse is over the gift) */
div.gift_bal{display:flex;align-items:flex-start}
div.gift_bal_photo{align-self:center}
body.mod .balloonstyle .gift_bal_text > div > a{display:block;margin-bottom:2px;font-weight:600}
/* search results without tables (lib/search_results.tpl, lib/search_form.tpl); fr3 = the 3x3 frame of table.form_error */
body.mod div.sr_list{width:100%}
body.mod div.sr_list > div.sr_row{display:flow-root;padding:10px 0 10px 10px}
body.mod div.fr3{display:grid;grid-template-columns:6px minmax(0,1fr) 6px;grid-template-rows:6px auto 6px;width:100%;margin-bottom:12px;border-radius:6px;box-shadow:inset 0 0 0 3px #b6b2a6}
body.mod div.fr3 > div{min-width:0}
body.mod div.fr3_c{display:flow-root;text-align:left;padding:0}
body.mod div#t_multyphoto{width:84px;height:100px;padding:0;margin:0;float:left}
body.mod div#t_multyphoto > div.td_multyphoto{padding:0}
/* inner pages without tables: tab_card (was table#tab_content) and #data_content (was table#data) have one and the same inset, no second frame inside the page card */
body.mod div.tab_card{padding:12px;text-align:left}
body.mod div.tab_card > table.tab_form:last-child{margin-bottom:0}
body.mod div#search_type{width:100%;margin:8px 0}
body.mod div#search_type > div{padding:4px;text-align:right;white-space:nowrap}
body.mod div#messages_users{border-bottom:1px #9FADC2 solid}
body.mod div#messages_users > div.mu_row{display:flex}
body.mod div#messages_users .user_checkbox{flex:none;display:flex;align-items:center;box-sizing:content-box;width:24px;padding:10px 0 10px 10px;border-top:1px #9FADC2 solid}
body.mod div#messages_users .user_data{flex:1 1 auto;min-width:0;display:flow-root;padding:10px 0 10px 10px;border-top:1px #9FADC2 solid}
body.mod div#messages_acton{display:flex;align-items:center;width:fit-content}
body.mod div#messages_acton > div{padding:4px 12px 4px 0}
/* anketa.tpl without tables */
body.mod #anketa_error .fr3_c{padding:8px 8px 0 8px}
body.mod div#tabs.tabs_icons > .tab_empty{flex:0 1 auto}
body.mod div#tabs > .tab_icons{flex:1 1 auto}
body.mod div.an_head{display:grid;grid-template-columns:auto auto;align-items:start;width:fit-content;text-align:left}
body.mod div.an_photos{display:flex;align-items:flex-start}
body.mod div.an_head .foto{padding:0 4px 0 0}
body.mod div.an_head > .spaced{padding-left:16px}
body.mod div.an_msg,body.mod div.an_links{padding-top:16px}
body.mod div.an_msg p,body.mod div.an_links p{padding:4px 0 0 0}
body.mod div.an_head > div > p:first-child{padding-top:0}
body.mod div.an_head > div > p:last-child{padding-bottom:0}
body.mod div.gifts_mid > .gifts_grid{align-self:center}
body.mod div#search_type.st_row{display:flex}
body.mod div#search_type.st_row > .t_back{flex:1 1 auto;text-align:left}
body.mod div.form_box.form_box_0{padding:0}
body.mod div#tabs > .tab_icons{white-space:nowrap;text-align:left}
body.mod div.tab_icons > a,body.mod div.tab_icons > i,body.mod div.tab_icons > span{display:inline-flex;align-items:center;justify-content:center;height:20px;margin:0;padding:0 6px 0 0;vertical-align:middle;text-decoration:none;position:relative;top:-10px}
body.mod div.tab_icons > a > img{width:20px;height:20px;margin:0;padding:0}
body.mod div.tab_icons > i.mdi{width:auto;font-size:20px;line-height:20px}
body.mod div.tab_icons .i_rocket::before{font-size:20px;line-height:20px}
body.mod div#tabs > .tab_icons img.i_ico_up,body.mod div#tabs > .tab_icons img.i_ico_leader{width:26px;height:26px;margin:0;vertical-align:middle}
body.mod div.an_head{grid-template-columns:min-content auto}
body.mod div#tabs > .tab_icons > :is(a,i,span){padding:0 6px 0 0}
body.mod div#tabs img[src$="/pics/1.gif"]{display:none}
/* pager (lib/pager.tpl) without tables and pictures: a line on top, the current page hangs from it in a frame with rounded bottom corners */
body.mod div.pager{--pgl:#ababab;display:flex;width:100%;min-height:34px;margin:8px 0 16px}
body.mod div.pager > div{text-align:center}
body.mod div.pager > .page{display:flex;align-items:center;justify-content:center;padding:0 1em;background:linear-gradient(var(--pgl),var(--pgl)) top/100% 1px no-repeat}
body.mod div.pager > .empty_page{flex:1 1 auto;background:linear-gradient(var(--pgl),var(--pgl)) top/100% 1px no-repeat}
body.mod div.pager > .current_page{box-sizing:border-box;min-width:39px;height:33px;margin-top:.5px;padding:6px 7px 0;border:1px solid var(--pgl);border-top:0;border-radius:0 0 6px 6px}
/* status of a block (lib/block_header.tpl): glyphs instead of the i_dot_*.gif pictures */
body.mod i.bh_ico{width:auto;font-size:24px;line-height:24px;vertical-align:middle}
body.mod i.bh_on{color:#2fb400}
body.mod i.bh_off{color:#808080}
body.mod i.bh_wait{color:#d99100}
body.mod i.bh_rejected{color:#e60000}
/* select in Opera: own arrow instead of the native one (Opera paints a light button under it on the dark theme) */
html[data-browser="opera"] body.mod select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;padding-right:30px;background-image:linear-gradient(45deg,transparent 50%,var(--mu) 50%),linear-gradient(135deg,var(--mu) 50%,transparent 50%);background-size:5px 5px,5px 5px;background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-repeat:no-repeat;cursor:pointer}
/* the number of a profile in the search results: a column of its own, so the photos stand in one line whatever the digits */
body.mod span.photo_num{box-sizing:content-box;min-width:3ch;padding-right:10px;font-variant-numeric:tabular-nums}
/* my own profile in the search results: a dashed orange frame instead of the grey 3px one */
body.mod div#user_anketa.fr3{grid-template-columns:10px minmax(0,1fr) 10px;grid-template-rows:10px auto 10px;box-sizing:border-box;border:1px dashed var(--ac);border-radius:12px;box-shadow:none;width:calc(100% + 11px);margin-left:-11px}
/* inner pages without tables: text in the card and the wrapper of a form (was table#data) */
body.mod div.tab_card > p:first-child{padding-top:0}
body.mod div.tab_card > p:last-child{padding-bottom:0}
body.mod div#data{width:100%}
body.mod div#data_content{display:flow-root;padding:12px}
body.mod div#data textarea{width:99%}
/* forms of label/field pairs without tables (was table.form_data / form_data_2 / form_data_3 / settings): div.fd = grid, div.fd_r = a row (display:contents), div.fd_c = a cell */
body.mod div.fd{display:grid;align-items:center}
body.mod div.fd_r{display:contents}
body.mod div.fd_c{min-width:0}
body.mod div.fd_s2{grid-column:span 2}
body.mod div.fd_s3{grid-column:span 3}
body.mod div.fd_s4{grid-column:span 4}
body.mod div.fd_vt{align-self:start}
body.mod div.fd1{grid-template-columns:minmax(0,1fr)}
body.mod div.fd0{display:block}
body.mod div.fd.form_data,body.mod div.fd.form_data_3,body.mod div.fd.settings,body.mod div.fd#support_data{width:100%}
body.mod div.fd.form_data_2{width:fit-content}
body.mod div.form_data.fd2{grid-template-columns:minmax(min-content,25%) minmax(0,1fr)}
body.mod div.fd:is(.form_data_2,.settings).fd2{grid-template-columns:auto minmax(0,1fr)}
body.mod div.fd.form_data_3.fd2{grid-template-columns:160px minmax(0,1fr)}
body.mod div.fd_in{width:fit-content}
body.mod div.fda2{grid-template-columns:repeat(2,auto)}
body.mod div.fda3{grid-template-columns:repeat(3,auto)}
body.mod div.fda4{grid-template-columns:repeat(4,auto)}
body.mod div.fda5{grid-template-columns:repeat(5,auto)}
body.mod div.fda6{grid-template-columns:repeat(6,auto)}
body.mod div.fd.form_data div.fd_c{padding:10px 0 10px 10px;text-align:left}
body.mod div.fd.form_data_2 div.fd_c{padding:12px 12px 12px 0}
body.mod div.fd.form_data_3 div.fd_c{padding:6px 12px 6px 0}
body.mod div.fd div.fd_c.label{padding:4px 8px 2px 0;font-size:12px;font-weight:600;color:var(--mu);white-space:nowrap;text-align:left}
body.mod div.fd.form_data div.fd_c.comment{color:#000}
body.mod div.fd.form_data div.fd_r.underline_1{display:grid;grid-template-columns:subgrid;grid-column:1/-1;align-items:center;border-bottom:1px solid #080808}
body.mod div.fd.form_data div.fd_r.underline_1 > div.fd_c{padding-bottom:6px}
body.mod div.fd_r.underline_2{display:grid;grid-template-columns:subgrid;grid-column:1/-1;align-items:center;background:#f6f6f6;border-top:1px solid #949494;border-bottom:1px solid #dcdcdc}
body.mod div#data div.fd_r.buttons > div.fd_c{border-top:1px solid #d7d7d7;padding-top:16px}
body.mod div.fd.form_data h3{margin:0;padding:0;font-weight:bold}
body.mod div.fd#support_data h3{margin:8px 0 12px;font-weight:bold}
/* rules that main.css kept for single tables, now for their div versions */
body.mod div#feedback_form div.fd_c{padding-top:6px;padding-bottom:6px}
body.mod div#look_at_me_users{grid-template-columns:34px auto minmax(0,1fr);border-bottom:1px solid #9fadc2}
body.mod div#look_at_me_users div.fd_r{display:grid;grid-template-columns:subgrid;grid-column:1/-1;align-items:center;border-top:1px solid #9fadc2}
/* invite_friend.tpl: the two columns (was table#pickup_form) */
body.mod div#pickup_form{display:grid;grid-template-columns:50% 50%;width:100%;align-items:start}
body.mod div#pickup_form h1{margin-top:0;padding-top:0}
body.mod div#pickup_form div#pickup_money{padding:12px;border-right:1px solid #cfcfcf}
body.mod div#pickup_form div#pickup_free{padding:12px}
/* auth.tpl without tables (was table#auth_2, the photo tables, table#login_form, table#auth_error) */
body.mod div#auth_2{display:grid;grid-template-columns:25% 75%;box-sizing:border-box;width:60%;margin:0 auto 0 0;border:1px solid #656565;border-radius:8px;background:#fff}
body.mod div#auth_2 > div.a2_s2{grid-column:1/-1}
body.mod div#auth_2 > div.user{padding:16px 16px 16px 32px;text-align:left;align-self:start}
body.mod div#auth_2 > div.content{padding:16px 32px 16px 16px;text-align:left;align-self:start}
body.mod div#auth_2 > div.header_1{padding:16px 32px;text-align:left}
body.mod div#auth_2 > div.form{padding:16px;border-top:1px solid #656565;text-align:left}
body.mod div#auth_2 > div.content a{color:#fff}
body.mod div#auth_2 > div.header_1 h1,body.mod div#auth_2 > div.content h1{margin:0;padding:0}
body.mod div.m_foto > div.c_m_foto,body.mod div.f_foto > div.c_f_foto{padding:0;overflow:hidden}
body.mod div#login_form{width:100%}
body.mod div#login_form.fd2{grid-template-columns:auto minmax(0,1fr)}
body.mod div#login_form div.fd_c{color:#595959;font-size:12px}
body.mod div#login_form div.fd_c.field{padding:2px 6px 2px 0}
body.mod div.fd_ar{text-align:right}
body.mod div.fd_ac{text-align:center}
body.mod div#auth_error{width:60%;margin:24px auto 12px 0;padding:8px 8px 0;text-align:left}
body.mod div#auth_error h1{padding:8px 8px 8px 0}
/* the buttons of the login/registration forms are as high as the fields and the other buttons of the site */
body.mod input[type=submit].auth{height:32px !important;line-height:1}
/* auth.tpl on a narrow screen: the frame does not shrink below the form, the form fills the frame, fields stay inside */
body.mod div#auth_2,body.mod div#auth_error{min-width:min(100%,380px)}
body.mod div#auth_2 div.auth_login,body.mod div#auth_2 div.auth_register{box-sizing:border-box;width:100% !important;max-width:340px}
body.mod div#auth_2 div#login_form input.auth[type=text],body.mod div#auth_2 div#login_form input.auth[type=password]{box-sizing:border-box;width:calc(100% - 13px);min-width:0}
body.mod div#auth_2 a.social_button{box-sizing:border-box}
/* the text of the social button is centered in the whole button (the icon sits on the left) */
body.mod div#auth_2 a.social_button{text-align:center;padding-left:46px;padding-right:46px}
/* anketa_closed.tpl: the message "page unavailable" (icon + text) */
body.mod div.tab_msg{display:flex;align-items:center}
body.mod div.tab_msg_ic{padding-left:20px}
/* label/field forms of the pages "meetings"/search without tables (was table.tab_form): div.fd.tab_form */
body.mod div.fd.tab_form{width:fit-content;margin-bottom:4px}
body.mod div.fd.tab_form.fd2{grid-template-columns:repeat(2,auto)}
body.mod div.fd.tab_form.fd3{grid-template-columns:repeat(3,auto)}
body.mod div.fd.tab_form div.fd_c.field{padding:2px 10px 2px 0}
body.mod div.tab_card > div.fd.tab_form:last-child{margin-bottom:0}
body.mod div#meetengs_conditions{grid-template-columns:40% 60%;width:100%}
body.mod div#meetengs #field_search_age_from{margin-left:0}
body.mod div#meetengs_form div.fd_c{padding-left:0;padding-right:24px;white-space:nowrap}
body.mod div#meetengs_conditions div.fd_c.label{font-weight:normal}
body.mod div.fd.tab_form label{padding:0;margin:0}
body.mod div#meetengs_conditions > div.fd_r > div.fd_c{align-self:start}
body.mod div#meetengs_conditions div.fda2{grid-template-columns:auto 1fr}
/* search.tpl: the opened search box has the same form as the index page (was table#search_form + tab_form) */
body.mod div#search_off .sf_grp{margin-bottom:4px}
body.mod div#search_off .sf_grp:not(.sf_where){display:flex}
body.mod div#search_off .sf_line{display:flex}
body.mod div#search_off .sf_label{font-size:12px;font-weight:600;color:var(--mu);padding:4px 8px 2px 0;text-align:left}
body.mod div#search_off .sf_field{padding:2px 10px 2px 0;text-align:left}
body.mod div#search_off .sf_checks{flex-basis:100%;margin:8px 0 4px}
body.mod div#search_off .sf_checks .sf_line{flex-wrap:wrap;align-items:center;gap:4px 22px}
body.mod div#search_off .sf_cell{padding:0;white-space:nowrap;text-align:left}
body.mod div#search_off .sf_line_first .sf_cell{padding-bottom:8px}
body.mod div#search_off .sf_cell + .sf_cell{padding-left:12px}
body.mod div#search_off .sf_checks{margin:8px 0 0;display:grid;grid-template-columns:auto auto;justify-content:start}
body.mod div#search_off .sf_checks .sf_line{display:contents}
body.mod div#search_off label{margin:0;padding:0}
/* (search_off) */
/* (search_off checks as a table) */
/* (search_off) */
/* (search_off) */
body.mod div.fd.tab_form.fd4{grid-template-columns:repeat(4,auto)}
/* searchvip.tpl without tables: nested label/field tables, two columns of 50%, cell spacing / padding of the old tables */
body.mod div.fd_in.w100{width:100%}
body.mod div.fd.fdh.fda2{grid-template-columns:50% 50%}
body.mod div.fd_r.vt > div.fd_c{align-self:start}
body.mod div.fd.sp1{gap:1px;padding:1px}
body.mod div.fd.cp3 > div.fd_r > div.fd_c{padding:3px}
/* messages_folder.tpl without tables (was table#folder_data) */
body.mod div#folder_data{grid-template-columns:auto auto auto minmax(0,1fr);margin-top:24px}
body.mod div#folder_data div.fd_c{padding-top:4px;padding-bottom:4px}
body.mod div#folder_data div.fd_c.label{text-align:left;padding-left:0;white-space:nowrap}
body.mod div#folder_data div.fd_c.comment{white-space:nowrap}
body.mod div#folder_data div.fd_r.spaced > div.fd_c{padding-bottom:16px}
body.mod div#folder_data div.fd_r.buttons > div.fd_c{padding-top:16px}
/* edit_compliments.tpl without tables: the list of compliments */
body.mod div.cmp{display:grid;grid-template-columns:auto 60px 280px minmax(0,1fr);width:500px;margin-bottom:20px}
body.mod div.cmp > div.cmp_pos,body.mod div.cmp > div.cmp_ic,body.mod div.cmp > div.cmp_ac{align-self:start}
body.mod div.cmp_in{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center}
body.mod div.cmp_tx{align-self:start}
body.mod div#folder_data div.fd_c.icon{padding-left:48px;padding-right:12px;text-align:right}
body.mod div#folder_data div.fd_c.icon i.mdi{font-size:22px;line-height:1;color:var(--mu)}
body.mod div#folder_data div.fd_c.field{padding-right:6px}
body.mod div.cmp > div.cmp_pos{padding-right:6px}
/* lib/city_select.tpl without tables: the dialog of the choice of the city, 3 columns of 33% */
body.mod div.fd.fdt.fda3{grid-template-columns:repeat(3,minmax(0,1fr))}
body.mod div.dialog div.fd_c{padding:4px}
/* (dialog) */
/* lib/top_up.tpl without tables */
body.mod .top_up{display:grid;grid-template-columns:80px auto minmax(0,1fr);align-items:center}
body.mod .top_up .tu_buy{text-align:right}
/* gifts / hit_list / vip without tables */
body.mod div.gf_row{display:grid;grid-template-columns:160px minmax(0,1fr)}
body.mod div.gf_row > div.gf_tx{align-self:start}
body.mod #data_content > div.fd_in.fda4{grid-template-columns:120px 100px 100px 100px}
body.mod div.hl_head{width:100%;grid-template-columns:50% 50%;margin-bottom:0}
body.mod div.hl_head > div.fd_r > div.fd_c:last-child{text-align:right}
body.mod #tab_content div.fd_c > p:first-child{padding-top:0}
body.mod #tab_content div.fd_c > p:last-child{padding-bottom:0}
/* the open / close icon of the search box: glyphs of Material Design instead of the pictures, text centered against the icon */
body.mod #search_show{display:flex;align-items:center}
body.mod #search_show a{display:inline-flex;align-items:center}
body.mod #search_show i.mdi{font-size:22px;line-height:1;margin:0 8px 0 0;color:var(--tx);text-decoration:none}
/* account.tpl without layout tables: the payment selectors, the transaction card, the one-cell wrapper */
body.mod div.fd.selector{width:fit-content}
body.mod div.fd.selector.fd2{grid-template-columns:auto auto}
body.mod div.fd.selector div.fd_c{padding:0 0 9px 0}
body.mod div.fd.selector div.fd_c span{color:#6e6e6e}
body.mod div.fd.selector div.fd_c label{color:#488611;margin-left:0}
body.mod div.fd.selector div.fd_c.radio{width:40px}
body.mod div.fd.operator_price_table{width:fit-content}
body.mod div#transaction{width:40%;border-bottom:1px #9FADC2 solid;margin:8px 0 24px}
body.mod div#transaction.fd2{grid-template-columns:auto auto}
body.mod div#transaction div.fd_c{padding:6px 3px;border-top:1px #9FADC2 solid}
body.mod div.fd div.fd_c.fd_ac{text-align:center}
body.mod div.fd div.fd_c.fd_ar{text-align:right}
/* b_vip_over.png / ic_close_white.png -> glyphs */
body.mod .vip_over{display:grid;place-items:center;top:6px;left:6px;width:32px;height:22px;border-radius:11px;background:#f59a23;font-size:0;text-indent:0}
body.mod .vip_over::before{content:"\F11D0";font:400 16px/1 "Material Design Icons";color:#fff}
body.mod #android_close{display:inline-block;width:64px;height:64px;margin-left:20px;cursor:pointer;text-align:center}
body.mod #android_close::before{content:"\F0156";font:400 40px/64px "Material Design Icons";color:#fff}
/* login / registration card on a narrow screen: the field never wider than its cell */
body.mod .lc_form > .field > input[type=text],body.mod .lc_form > .field > input[type=password]{box-sizing:border-box;max-width:100%}
/* photo viewer: password prompt of hidden photos - gap between the field and the button */
body.mod #hidden_about_passwd #button_next_submit{margin-top:12px}

/* account.php: play icon in the transactions list (was b_play.gif, 15x15) */
body.mod .i_trans_play{font-size:18px;line-height:1;color:var(--mu)}
body.mod a:hover .i_trans_play{color:var(--ac)}
/* guest photos are blurred: the picture only, the coloured frame stays sharp (frame = .blur_box, see lib/photo_frame.tpl) */
body.mod .blur_box{display:inline-block;vertical-align:top;overflow:hidden;line-height:0;border:3px solid #cbcbcb;border-radius:12px;background:#ededed}
body.mod .preview_female .blur_box{border-color:#ffc1d2}
body.mod .preview_male .blur_box{border-color:#cfe0f5}
body.mod .blur_box img.blur{display:block;border:0;border-radius:0;transform:scale(1.25)}
body.mod .c_f_foto .blur_box{border-color:#ffc1d2}
body.mod .c_m_foto .blur_box{border-color:#cfe0f5}
body.mod div#search_form_block{padding:16px 22px 14px;background:var(--card);border:1px solid var(--ln);border-radius:var(--r);overflow:hidden;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod div#meetengs_box{padding:16px 22px 14px;background:var(--card);border:1px solid var(--ln);border-radius:var(--r);overflow:hidden;box-shadow:0 1px 2px rgba(28,29,33,.04)}
body.mod div#search_form_block form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 18px}
body.mod div#meetengs_box form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:2px 18px}
body.mod div#search_form_block .sf_grp{margin-bottom:4px}
body.mod div#meetengs_box .sf_grp{margin-bottom:4px}
body.mod div#search_form_block .sf_grp:not(.sf_where){display:flex}
body.mod div#meetengs_box .sf_grp:not(.sf_where){display:flex}
body.mod div#search_form_block .sf_line{display:flex}
body.mod div#meetengs_box .sf_line{display:flex}
body.mod div#search_form_block .sf_label{font-size:12px;font-weight:600;color:var(--mu);padding:4px 8px 2px 0;text-align:left}
body.mod div#meetengs_box .sf_label{font-size:12px;font-weight:600;color:var(--mu);padding:4px 8px 2px 0;text-align:left}
body.mod div#search_form_block .sf_field{padding:2px 10px 2px 0;text-align:left}
body.mod div#meetengs_box .sf_field{padding:2px 10px 2px 0;text-align:left}
body.mod div#search_form_block .sf_checks{flex-basis:100%;margin:8px 0 4px}
body.mod div#meetengs_box .sf_checks{flex-basis:100%;margin:8px 0 4px}
body.mod div#search_form_block .sf_checks .sf_line{flex-wrap:wrap;align-items:center;gap:4px 22px}
body.mod div#meetengs_box .sf_checks .sf_line{flex-wrap:wrap;align-items:center;gap:4px 22px}
body.mod div#search_form_block .sf_cell{padding:2px 0;white-space:nowrap;text-align:left}
body.mod div#meetengs_box .sf_cell{padding:2px 0;white-space:nowrap;text-align:left}
body.mod div#search_form_block .sf_line_first .sf_cell{padding-bottom:8px}
body.mod div#meetengs_box .sf_line_first .sf_cell{padding-bottom:8px}
body.mod div#search_form_block .sf_cell + .sf_cell{padding-left:12px}
body.mod div#meetengs_box .sf_cell + .sf_cell{padding-left:12px}
body.mod div#search_form_block label{margin:0 18px 0 0;color:var(--tx);cursor:pointer}
body.mod div#meetengs_box label{margin:0 18px 0 0;color:var(--tx);cursor:pointer}
body.mod div#search_form_block input[type=checkbox],body.mod div#search input[type=radio]{accent-color:var(--ac);width:16px;height:16px;vertical-align:-3px;margin-right:6px}
body.mod div#meetengs_box input[type=checkbox],body.mod div#search input[type=radio]{accent-color:var(--ac);width:16px;height:16px;vertical-align:-3px;margin-right:6px}
body.mod .scard input[type=checkbox],body.mod .scard input[type=radio]{accent-color:var(--ac);width:16px;height:16px;vertical-align:-3px;margin-right:6px}
body.mod #search_form_block form > table,body.mod #search_form_block form > div[id^="targetblock"],body.mod #search_form_block form > div.sf_kw,body.mod #search_form_block form > script,body.mod #meetengs_box form > table{flex-basis:100%}
body.mod #search_form_block form > table.tab_form{margin:2px 0}
body.mod #meetengs_box .sf_meet{flex-basis:100%;display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:8px 32px;margin-top:8px}
body.mod #meetengs_box .sf_mrow{display:block;margin:0 0 6px;cursor:pointer}
body.mod #meetengs_box .sf_submit{padding-top:8px}
body.mod #search_form_block .sf_kw input[type=text]{width:100%;max-width:420px}
body.mod div#search_form_block .sf_grp.sf_kw{display:block !important}
body.mod :is(.tab_card,#data_content):has(> #search_form_block,> #meetengs_box){padding:0}
body.mod #search_form_block table.tab_form{width:auto;margin:6px 0 0}
body.mod #search_form_block table.tab_form td{text-align:left !important;padding:2px 8px 2px 0}
body.mod #search_form_block form > div[id^="targetblock"]{margin-bottom:6px}
body.mod #search_form_block .sf_hint{padding-top:0;font-size:12px;color:var(--mu)}
body.mod #search_form_block .sf_hint span{color:var(--mu) !important}
/* --- dating.ru only --- */
body.mod .ic_user_action.agent::before{content:"\F0CE3"}
body.mod a.ic-social-button{border:1px solid var(--ln2);border-radius:10px;background:var(--field);color:var(--tx) !important;font-size:14px;transition:border-color .15s}
body.mod a.ic-social-button:hover{border-color:var(--ac)}
body.mod #i_logo{mix-blend-mode:multiply}
body.mod div#search_on{padding:8px 0}
body.mod #r_middle h3{font-weight:700}
body.mod #collage li{box-sizing:border-box;width:74px;height:74px;margin:3px;border:2px solid var(--ln2);border-radius:10px;background-size:cover;background-position:center}
body.mod #collage li.big{width:154px !important;height:154px !important}
body.mod #collage li a{width:100%;height:100%}
body.mod #collage li.big a{width:100%;height:100%}
body.mod #folder_data{margin-left:12px}
body.mod #folder_data div.fd_c.icon{padding-left:0}
body.mod table#anketa_form tr td.block_header{padding-right:10px}
body.mod i.bh_wait{position:relative;cursor:help}
body.mod i.bh_wait #tooltip-self{left:auto;right:-10px}
body.mod i.bh_wait #tooltip-self::after{left:auto;right:16px}
body.mod .tooltip-anketa{position:relative;display:inline-block;margin:0 0 0 6px;vertical-align:middle;font-size:18px;line-height:1;color:var(--btn);cursor:help}
body.mod #tooltip-self{position:absolute;z-index:60;left:-14px;bottom:calc(100% + 10px);top:auto;display:block;width:270px;margin:0;padding:10px 14px;box-sizing:border-box;background:var(--card);color:var(--tx);border:1px solid var(--ln2);border-radius:12px;box-shadow:0 8px 24px rgba(0,0,0,.28);font-size:13px;line-height:1.45;font-weight:400;font-family:inherit;text-align:left;white-space:normal;cursor:default}
body.mod #tooltip-self::after{content:"";position:absolute;left:18px;top:100%;width:10px;height:10px;margin-top:-6px;background:var(--card);border-right:1px solid var(--ln2);border-bottom:1px solid var(--ln2);transform:rotate(45deg)}
body.mod .sys_msg{display:block;border:4px solid #ff7200;padding:.5rem;border-radius:5px;margin-bottom:.5rem}
body.mod .sys_msg i.i_ico_sys{color:#ff7200}
body.mod .sys_msg .sys_p{margin:0 0 6px}
body.mod .sys_msg .sys_p:last-child{margin:0}
body.mod i.i_ico_mp{font-size:26px;line-height:1;color:var(--ac);vertical-align:middle;margin-right:6px;display:inline-block}
body.mod table#tab_content tr td.content{padding:20px}
body.mod a.btn{display:inline-block !important;box-sizing:border-box;border:0;border-radius:14px;background:var(--btn);background-image:none;filter:none;box-shadow:0 6px 16px rgba(255,155,74,.35);color:#fff;text-shadow:none;font-weight:700;font-size:20px;height:auto;line-height:1.2;font-family:inherit;padding:16px 40px;text-decoration:none;cursor:pointer;transition:background .15s,transform .15s}
body.mod a.btn:hover{background:var(--btn-d);background-image:none;filter:none;color:#fff;text-decoration:none}
body.mod a.btn:active{top:0;transform:translateY(1px)}
body.mod a.nice_button{display:inline-flex;align-items:center;gap:8px;text-decoration:none;color:#fff;cursor:pointer}
body.mod a.nice_button:hover{text-decoration:none;color:#fff}
body.mod a.nice_button i.mdi{font-size:20px;line-height:1}
body.mod :is(.info_box,.error_box) ul{padding-left:22px;margin:0}
body.mod #search_form_block table.tab_form:has(a[onclick^="return clickGroup"]),body.mod #search_form_block table.tab_form:has(a[onclick^="return clickGroup"]) :is(tbody,tr){display:flex;align-items:center;width:auto}
body.mod #search_form_block table.tab_form:has(a[onclick^="return clickGroup"]) td:nth-child(n+3){display:none}
body.mod #search_form_block table.tab_form:has(a[onclick^="return clickGroup"]){margin:10px 0 2px}
body.mod #search_form_block i[id^="targetigroup"]{font-size:22px;line-height:1;color:var(--ac);cursor:pointer;vertical-align:middle}
body.mod #search_form_block table.tab_form a[onclick^="return clickGroup"] b{font-size:15px}
body.mod div[id^="yandex_rtb_"]{margin:16px 0}
body.mod input.nice_button[id^="button_"],body.mod input.nice_button#gif_pay{width:auto !important;height:38px !important;border:0}
body.mod .nice_button.off{display:inline-flex;align-items:center;height:38px;padding:0 22px;border-radius:10px;background:var(--ln2);color:var(--mu);font-weight:600;cursor:default}
body.mod input.nice_button + input.nice_button{margin-left:12px}
body.mod table#tabs tr td.tab_active{background:none}
body.mod table#meetengs{background:none;border:0;border-radius:0;box-shadow:none}
body.mod table#meetengs tr td.content{padding:0 0 8px}
body.mod td.fi_Folder_Admin::before{content:"\F0A12"}
body.mod div#search_on .sf_grp{margin:0}
body.mod .theme-switch button{text-transform:none;letter-spacing:0;margin-top:0;height:auto;font-family:inherit}
