.thumb em,address { font-style: normal } h1,h2 { float: left; padding: 0; border: 0 } .wallinfov ul,ol,ul,ul.wallTags li { list-style: none } .left-panel a:hover,.left-panel a:link,.left-panel a:visited,.logo-text,.pagination a,.right-panel a:hover,.right-panel a:link,.right-panel a:visited,:visited,a.button,a:hover,a:link,a:visited,ftop:link { text-decoration: none } #category-auto ul li,#tags-auto ul li,ul#menu,ul.holder li { list-style-type: none } code,fieldset legend,h3,h4,h5,h6,pre { font-size: 1em } blockquote,body,form,h3,h4,h5,h6,html,input,li,ol,p,pre,ul { margin: 0; padding: 0; border: 0 } body { font-family: Arial,Helvetica,Verdana; font-size: 12px; line-height: 20px; } :active,:focus { outline: 0 } img { border: 0 } h1 { font-size: 15px; margin: 5px 0 } h2 { font-size: 14px; color: #a7027b; width: 270px; margin: 20px 0 0 } .side-header,.top_banners a { font-size: 16px; font-weight: 700; color: #434343 } .side-header10,.side-header2,.side-header3,.side-header5,.side-header6,.side-header9 { font-size: 0; padding: 0 0 0 10px; width: 150px; height: 32px; line-height: 32px } .side-header2 { background: url(images/advertisments.png) left no-repeat } .side-header3 { background: url(images/resolutions.png) left no-repeat } .side-header5 { background: url(images/friends.png) left no-repeat } .side-header6 { background: url(images/categories1.png) left no-repeat } .side-header9 { background: url(images/account.png) left no-repeat } .side-header10 { background: url(images/partners.png) left no-repeat } .header_subtab { width: 930px; height: 126px; clear: both; background: url(images/bnk.png) left no-repeat } p.banner728x90 { clear: both; margin: auto; float: left; text-align: left; padding: 5px 5px 0 0 } .social_bookmarking { width: 180px; height: 80px; float: right; padding: 10px 0 0 10px; background-color: transparent } #advertise_top { float: left; margin: 0 } .top_banners { border: 0 solid #eee; float: left; margin-left: 3px; padding: 1px } .top_banners a { color: #666; font-size: 12px; height: 142px; line-height: 480%; display: block; width: 190px; text-align: center } .top_banners a:hover { color: #333 } .single_mwall { float: left; margin: 0 11px 5px 0 } .single_wall { border: 0 solid #9a27c4; position: relative; padding: 4px; margin-top: 2px } .prevnext { position: relative; margin-top: 5px } .next,.right { float: right } .prev { float: left; width: 47px } .next span,.prev span { display: none; font-weight: 400 } .next a:hover span,.next:hover span,.prev a:hover span,.prev:hover span { background: #fff; border: 1px solid #ddd; display: block; bottom: 0; visibility: visible; padding: 4px; position: absolute; cursor: pointer } #errors,.comments .comment_count,.comments a,.credits span,.fieldError,.pagination span.selected,.tool-title,a.button { font-weight: 700 } .prev a:hover span,.prev:hover span { left: -68px; top: -300 } .next a:hover span,.next:hover span { right: -68px; z-index: 999 } .wallinfo { border-bottom: 1px solid #bf25c5; margin: 2px 0 25px; padding: 4px; color: #efefef } .wallinfov ul { font-size: 11px; text-align: left; width: 500px; margin: 0!important; padding: 0 0 4px!important } .wallinfov ul li:first-child { border: 0; padding-left: 0!important } .wallinfov ul li { background: 0 0; border-left: 1px solid #ccc; display: inline; list-style: none; text-align: center; margin: 0; padding: 0 4px 0 8px } span.lastmodified { display: block; font-size: 11px; font-style: italic; text-align: right; margin: 16px 0 4px; padding: 4px } ul.wallTags,ul.wallTags li { display: inline } #footer,.mytable td,.pagination,ul.wallTags li { text-align: center } .credits div { border-bottom: 1px solid #d1d1d1; padding: 4px } .credits span { padding: 0 24px 0 0 } ul.wallTags li { margin: 0; padding: 0 14px 0 0 } .top-header { width: 980px; height: 10px; background: url(images/header-back.png) no-repeat } .bottom-footer { width: 980px; height: 20px; background: url(images/footer-back.png) no-repeat } #body { margin: 0 auto; width: 980px; position: relative } .container { width: 980px; background: url(images/container-back_left.png) repeat-y } .container_right { width: 980px; background: url(images/container-back_right.png) top right repeat-y } .container_right_ie { display: none } .container_inside { width: 930px; margin: 0 5px; padding: 20px } .content_background { float: left; width: 930px } .content_top_ads { height: 25px } ul#menu { position: absolute; top: 130px; left: 75px; width: 807px; height: 99px; background-image: url(images/0015_nav_background.jpg); background-repeat: no-repeat; background-position: bottom; padding-left: 4px } ul#menu li,ul#menu li a { display: block; float: left; width: 134px; height: 99px; text-indent: -9999px } .left-panel,.right-panel { width: 140px; padding: 7px 0 7px 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; float: left } ul#menu li#button01 a:hover,ul#menu li#button01.selected { background-image: url(/images/0015_nav_btn01.png) } ul#menu li#button02 a:hover,ul#menu li#button02.selected { background-image: url(/images/0015_nav_btn02.png) } ul#menu li#button03 a:hover,ul#menu li#button03.selected { background-image: url(/images/0015_nav_btn03.png) } ul#menu li#button04 a:hover,ul#menu li#button04.selected { background-image: url(/images/0015_nav_btn04.png) } ul#menu li#button05 a:hover,ul#menu li#button05.selected { background-image: url(/images/0015_nav_btn05.png) } .left-panel { position: relative } .pagination a:active,.pagination a:hover,.pagination span.selected { border: 1px solid #9617bd; background-color: #e8f1fa; color: #424242 } .content { float: left; width: 610px!important; padding: 7px 0 7px 20px } .content-text { float: left; width: 590px!important } ul.wallpapers { clear: both; float: left; width: 604px } ul.wallpapers li.wall { display: block; float: left; margin-right: 24px; margin-bottom: 10px } ul.wallpapers li.wall a,ul.wallpapers li.wall a:visited { float: left; text-decoration: none } .input-text,.input-textarea { color: #444; padding: 2px; width: 350px } .input-textarea { height: 31px } .input-other,.input-text-short { color: #444; padding: 2px; width: 250px } .input-other { width: 357px } .button { background-color: #f0f0f0; color: #444; font-size: 14px; cursor: pointer } .pagination { clear: both; display: block; margin: 20px auto 5px; width: 550px; padding: 4px 17px 4px 0; color: #313031 } .pagination a,.pagination span.disabled,.pagination span.selected { padding: 5px 6px 4px 5px; margin: 0 3px } .pagination a { color: #424242; border: 1px solid #9617bd } .pagination span.disabled { border: 1px solid #ccc; color: #ccc } .logo { margin: 0!important; padding: 0!important; line-height: 0; height: 189px!important; display: block } .logo-back,.logo-text { margin-top: 0; float: center } .logo-back { width: 0; height: 0 } .logo-text { font-size: 0; line-height: 0; cursor: pointer; margin-left: 0 } .logo-img { display: block; float: center; width: 928px; cursor: pointer; height: 120px; background: url(images/header.jpg) no-repeat } .main_foot,.main_title { height: 28px; line-height: 25px; margin: 0 2px 0 0; padding: 0 0 0 6px; float: left } .main_title { width: 590px; background: url(images/titles_bg.gif) center no-repeat; font-size: 14px; color: #fff } .main_foot { width: 930px; background: url(images/titles_bg2.gif) center no-repeat; font-size: 12px; color: #a4a3a6 } .wallpaper-thumb { display: block; float: left; width: 270px; padding: 2px } .wallpaper-separator { float: left; width: 2px; height: 207px; border-right: 1px solid #b80187; margin-left: 2px } .wallpaper-ads-right { float: right; width: 300px; height: 250px; margin-top: 0; margin-right: 5px } .wallpaper-resolutions { float: left; width: 590px; font-size: 13px; margin-bottom: 5px; border-bottom: 1px solid #eee; padding-bottom: 20px } .wallpaper-resolutions span { display: block; float: left; width: 110px; font-weight: 700; clear: left } #formComment,.comments,.modules li,.reset,.wallpaper-2ads,form ul li { clear: both } .wallpaper-resolutions a,.wallpaper-resolutions a:visited { margin-left: 10px } .wallpaper-2ads-separator { float: left; width: 590px; height: 0; border-top: 1px solid #b80187; margin-top: 5px; margin-bottom: 10px } .sIFR-replaced { z-index: 0 } .reset { height: 0; line-height: 0; font-size: 1px } .side-panel { margin-bottom: 15px } .rss,.rss-back { margin: 6px 7px 0 0; float: left } #ie_background,.thumb em { display: none } .rss-back { width: 17px; height: 17px } .rss-image { background: url(images/rss.png) no-repeat; width: 16px; height: 16px; cursor: pointer } #footer { padding: 50px 0 0 } .categories ul li { padding-left: 10px } .categories a.selected { color: #f60 } form ul li { margin: 4px 0 } .rss-image,a.button,form label { display: block; float: left } form label { width: 150px } .label-author { width: auto; float: none; display: inline } .top-menu-ads { float: left; margin-top: 20px; margin-bottom: 5px; width: 918px; padding: 5px; border: 1px solid #9617bd } .top-menu-ads2 { float: left; left: -5px; margin-top: 2px; margin-bottom: 2px; width: 918px; padding: 2px } .mytable { width: 100% } .mytable td { border-top: 1px solid #a1c5e5; border-left: 1px solid #a1c5e5; padding: 5px; line-height: normal } #createAuthor,#selectAuthor { float: left; width: 500px } option.categorySub { font-size: 10px; display: block } .attention { background: url(images/attention.png) no-repeat; width: 8px; height: 24px; display: inline; margin-left: 10px } .comments li,form input,form select { border: 1px solid #ccc } .icon-space { margin-left: 5px } .row_odd { background-color: #f1f1f1 } a.button { background-color: #e5ecf4; border: 1px solid #428ea3; color: #428ea3; cursor: pointer; padding: 2px 5px } .button:hover { color: #fff; background-color: #428ea3; border: 1px solid #e5ecf4 } .button img { margin: 0 3px -3px 0!important; padding: 0; border: 0; width: 16px; height: 16px } .data { width: 550px } .data th { text-align: left; background-color: #e8e8e8 } .sortable .row_odd { background-color: transparent } .sortable tr td { border-bottom: 1px solid #ccc } .small { width: 126px } .comments { margin: 0 10px 0 0 } .comments li { padding: 10px; margin: 5px 0; clear: both; display: block } #errors,#success,.thumb a { padding: 2px; margin-bottom: 5px } .comments .comment_count { display: inline; font-size: 18px; color: #ccc; z-index: 0 } .comments .comment_odd .comment_count { top: 10px; left: 5px } .comments .comment_even .comment_count { top: 10px; right: 5px } #errors { font-size: 14px } .themes_input { float: left; width: 94px; margin-bottom: 3px; margin-right: 10px } .themes_example { float: left; width: 20px; height: 20px; border: 1px solid #000 } .thumb em { color: #000; padding: 0 3px; position: absolute; bottom: 10px; left: -5px } .thumb a:hover em { background: url(images/orange-gradient.gif) repeat-y #ffdb01; border: 1px solid #999; border-left-color: #888; display: block } .views { float: left; width: 16px; height: 16px } .thumb a { display: block; margin-bottom: 2px; position: relative; z-index: 1 } .mini-tags span { float: right; width: 27px; height: 10px; display: block; margin-left: 5px } .mini-tags { position: absolute; right: 5px; bottom: 5px } .tag-author { background: url(images/tag-author.png) no-repeat } .tag-hd { background: url(images/tag-hd.png) no-repeat } .tag-wide { background: url(images/tag-wide.png) no-repeat } .tool-tip { color: #fff; width: 139px; z-index: 13000 } .tool-title { font-size: 11px; margin: 0!important; color: #9fd4ff; padding: 4px 4px 0; background: url(images/bubble.png) top left } .block295px,.block590px { margin-right: 3px; display: block; margin-top: 5px; float: left } .tool-text { font-size: 11px; padding: 0 4px 4px; background: url(images/bubble.png) bottom right } .categoryList li.wall,ul.holder { height: auto!important } .block295px { width: 292px } .block295px,.modules,.tipsClass,fieldset { border: 1px solid #ccc } .block590px { width: 590px } .block295px h1,.block590px h1 { display: block!important; width: 282px; padding: 5px 0 0; margin-top: 0 } .block590px h1 { width: 550px } .block295px .block_data,.block590px .block_data { margin: 0 5px } .modules { border-bottom: 0!important } #notifyBox,.modules li { border-bottom: 1px solid #ccc } .full { width: 98% } .half { width: 48% } .modules li { display: block } #notifyBox,.modules li.odd { background-color: #f1f1f0 } .modules li:hover { background-color: #ddd } .modules .actions,.modules .title { float: left; display: block; padding: 2px 5px } .modules .actions { float: right } ol.modules li { list-style: decimal; display: block } #notifyBox { position: fixed; top: 0; left: 0; width: 100%; opacity: .9; padding: .3em .5em; z-index: 20000 } .drawerDown,.drawerRight { cursor: pointer; position: absolute } .drawerDown { background: url(images/small_arrow_down.png) no-repeat; bottom: -4px; left: 50%; width: 5px; height: 3px } .drawerRight { background: url(images/small_arrow_right.png) no-repeat; width: 3px; height: 5px; right: -3px; top: 50% } .tipsClass { padding: .3em; background-color: #f1f1f0; z-index: 19999; -moz-border-radius: 5px } #notices { padding: 2px; margin-bottom: 5px } .auto-input { width: auto; margin: 0 4px } .inline { display: inline; width: auto; float: none } fieldset { margin: 0 1em 0 0; padding: 5px 10px } .addFileInput { margin-top: 5px } .fieldError { display: inline; color: #900 } form ol,form ol li.input-text input,ul.holder li.bit-box,ul.holder li.bit-input input { font: 11px "Lucida Grande",Verdana } ul.holder { margin: 0; border: 1px solid #999; overflow: hidden; padding: 4px 5px 0 } * html ul.holder { padding-bottom: 2px } ul.holder li { float: left; clear: none!important; margin: 0 5px 4px 0 } ul.holder li.bit-box { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; border: 1px solid #cad8f3; background: #3f3f3f; padding: 1px 5px 2px } ul.holder li.bit-input input,ul.tags { border: 0; float: left!important; display: inline!important } ul.holder li.bit-input input { margin: 0; outline: 0; padding: 3px 0 2px; width: 150px } ul.holder li.bit-input input.smallinput { width: 20px } form ol { margin: 0; padding: 0 } form ol li.input-text { margin-bottom: 10px; list-style-type: none; border-bottom: 1px dotted #999; padding-bottom: 10px } form ol li.input-text label { font-weight: 700; cursor: pointer; display: block; font-size: 13px; margin-bottom: 10px } form ol li.input-text input { width: 500px; padding: 5px 5px 6px; border: 1px solid #999 } form ul.holder { width: 400px } ul.holder li.bit-hover { background: #000; border: 1px solid #6d95e0 } ul.holder li.bit-box-focus { border-color: #598bec; background: #598bec; color: #fff } ul.holder li.bit-box a.closebutton { position: absolute; right: 4px; top: 5px; display: block; width: 7px; height: 7px; font-size: 1px; background: url(images/close.gif) } #category-auto,#tags-auto { width: 412px; z-index: 1000; display: none; position: absolute; background: #000 } ul.holder li.bit-box a.closebutton:hover { background-position: 7px } ul.holder li.bit-box-focus a.closebutton,ul.holder li.bit-box-focus a.closebutton:hover { background-position: bottom } #category-list ul.holder li.bit-box,#tags-list ul.holder li.bit-box { padding-right: 15px; position: relative } #category-auto .default,#category-auto ul li,#tags-auto .default,#tags-auto ul li { padding: 5px 7px; border: 1px solid #ccc; border-width: 0 1px 1px } #category-auto ul,#tags-auto ul { display: none; margin: 0; padding: 0 } #category-auto ul li,#tags-auto ul li { padding: 5px 12px; margin: 0; font: 11px "Lucida Grande",Verdana } #category-auto ul li em,#tags-auto ul li em { font-weight: 700; font-style: normal; background: #ccc } #category-auto ul li.auto-focus,#tags-auto ul li.auto-focus { background: #9b1bbb; color: #fff } #category-auto ul li.auto-focus em,#tags-auto ul li.auto-focus em,.thumb em { background: 0 0 } #demo ul.holder li.bit-input input { padding: 2px 0 1px; border: 1px solid #999 } #add a { color: #666 } #add-test { width: 100px; padding: 2px } .add-box { clear: both; margin-bottom: .5em } ul.tags { width: 500px!important } .disabled { border: 1px solid #900; opacity: .4; color: #900 } .warning { color: #900; font-weight: 700 } li.wall,li.wall h2 { font-size: 13px; font-weight: 400 } li.wall h2 { float: left; width: auto; font-size: 15px; color: #9617bd } .myinfo { width: 0; height: 0; visibility: hidden } #fbsticker { background: #fff; border: 1px solid #ddd; border-radius: 9px; -moz-border-radius: 9px; -webkit-border-radius: 9px; -moz-box-shadow: inset 0 0 3px #333; -webkit-box-shadow: inset 0 0 3px #333; box-shadow: inner 0 0 3px #333; padding: 12px 14px; width: 300px; position: fixed; bottom: 6px; right: 6px; display: none; z-index: 3 } .search_bg { width: 150px; height: 28px; padding: 6px 0 0 5px; margin: 0 0 10px; background: url(images/search_bg.gif) center no-repeat } input.button-search { background: 0 0; border: 0; float: left; color: #a9a6a6; cursor: pointer; padding: 1px 0 0 3px } .col-search input { font-size: 11px } .sort-handle { float: left; margin-right: 5px } .itemsForm li { float: left; clear: none } .item_date { clear: both } .listStyle li.wall { clear: both; width: 100%!important; height: auto!important } .listStyle .item_title { float: left; width: 185px } .listStyle .item_date { float: left; width: 135px; clear: none } .listStyle .thumb { float: left; width: 180px } .listStyle .thumb img { height: 80px; width: auto } .listStyle .thumb:hover { -webkit-transform: translate(3em,0) scale(1.25) rotate(-2deg); -webkit-transition: all .5s ease-in-out; -moz-transform: scale(1.25) rotate(-2deg); -moz-transition: all .5s ease-in-out; transform: scale(1.25) rotate(-2deg) } .listStyle li:nth-child(even) { background: #fff } .listStyle li:nth-child(odd) { background: #535252 } ul.share-buttons { list-style: none; padding: 0 } ul.share-buttons li { display: inline }

/* Modern dark redesign overrides */
/* WallpaperDJ modern dark theme
   Loaded after style.css so legacy Smarty modules keep their existing behavior. */
:root {
    color-scheme: dark;
    --page-bg: #0b0c0f;
    --surface: #12151a;
    --surface-raised: #191e25;
    --surface-hover: #222a34;
    --border: #29313b;
    --text: #edf1f5;
    --muted: #9aa5b1;
    --accent: #55c5d5;
    --accent-strong: #8be0e8;
    --content-width: 1380px;
    --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--page-bg); scroll-behavior: smooth; }
body {
    min-width: 320px;
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font: 15px/1.6 Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a, a:link, a:visited { color: var(--accent); text-decoration: none; transition: color .18s ease, border-color .18s ease, background-color .18s ease; }
a:hover, a:focus-visible { color: var(--accent-strong); }

#body { width: min(100% - 36px, var(--content-width)); margin: 0 auto; position: relative; }
.top-header, .bottom-footer, .container, .container_right { width: 100%; background: none; }
.top-header, .bottom-footer { display: none; }
.container_inside { width: 100%; margin: 0; padding: 24px 0 30px; background: transparent !important; }
.container_right_ie, #ie_background { display: none !important; }
.content_background {
    display: grid;
    grid-template-columns: 178px minmax(0, 1fr) 300px;
    align-items: start;
    gap: 24px;
    float: none;
    width: 100%;
    background: transparent;
}
.content { float: none; width: auto !important; min-width: 0; padding: 0; background: transparent !important; }
.content-text { float: none; width: auto !important; max-width: 100%; }
.left-panel, .right-panel {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
    background: transparent !important;
    border: 0;
    border-radius: 0;
}
.left-panel { position: relative; }
.content_background > .reset, .content_background > br.reset { display: none; }

/* Header and text-based logo */
.site-header { width: 100%; padding: 8px 0 22px; }
.header-main { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 0; color: var(--text) !important; }
.brand-mark { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; padding: 8px; flex: 0 0 42px; border: 1px solid rgba(85,197,213,.38); border-radius: 12px; background: linear-gradient(145deg, #1c3941, #17212a); }
.brand-mark i { display: block; width: 3px; border-radius: 4px; background: var(--accent); }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 17px; }
.brand-mark i:nth-child(3) { height: 23px; }
.brand-mark i:nth-child(4) { height: 14px; }
.brand-mark i:nth-child(5) { height: 8px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: #fff; font-size: clamp(23px, 3vw, 31px); font-weight: 800; letter-spacing: .075em; text-transform: uppercase; }
.brand-tagline { margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 5px; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 12px; border: 1px solid transparent; border-radius: 8px; color: #c6ced7; font-size: 13px; font-weight: 700; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: #fff; background: var(--surface-raised); border-color: var(--border); }

/* Direct advertising: retain existing creatives and destinations. */
.ad-slot { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; overflow: hidden; }
.ad-label { display: block; color: #737e8b; font-size: 9px; font-weight: 700; line-height: 1.2; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.top-menu-ads { float: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; max-width: 100%; min-height: 112px; margin: 16px 0 0; padding: 9px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: #101319; }
.top-menu-ads a { display: block; width: min(100%, 728px); line-height: 0; text-align: center; }
.top-menu-ads img { display: block; width: 100%; max-width: 728px; height: auto; max-height: 90px; margin: 0 auto; object-fit: contain; }
.ad-rectangle { width: 100%; max-width: 300px; min-height: 270px; margin: 0 auto 22px; padding: 9px; border: 1px solid var(--border); border-radius: var(--radius); background: #101319; }
.ad-rectangle img { display: block; width: 100%; max-width: 300px; height: auto; }

/* Side modules */
.left-panel, .right-panel { color: var(--muted); font-size: 13px; }
.left-panel .side-panel, .right-panel .side-panel, .left-panel .modules, .right-panel .modules,
.left-panel .block295px, .right-panel .block295px, .left-panel .block590px, .right-panel .block590px {
    width: 100%; max-width: 100%; margin: 0 0 18px; padding: 14px; float: none;
    border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
}
.left-panel h1, .left-panel h2, .right-panel h1, .right-panel h2,
.left-panel .side-header, .right-panel .side-header { float: none; width: auto; height: auto; margin: 0 0 10px; padding: 0; color: var(--text); background: none; font-size: 13px; font-weight: 800; line-height: 1.4; }
.left-panel ul, .right-panel ul { margin: 0; padding: 0; }
.left-panel li, .right-panel li { margin: 0; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.left-panel li:last-child, .right-panel li:last-child { border-bottom: 0; }
.left-panel a, .right-panel a { color: #b9c4ce !important; }
.left-panel a:hover, .right-panel a:hover { color: var(--accent-strong) !important; }

/* Page headings and homepage intro */
.home-intro { margin: 0 0 24px; padding: 4px 0 18px; border-bottom: 1px solid var(--border); }
.eyebrow { margin: 0 0 5px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.home-intro h1 { float: none; margin: 0 0 7px; color: #fff; font-size: clamp(23px, 3vw, 32px); font-weight: 800; line-height: 1.2; }
.home-intro > p:last-child { max-width: 680px; margin: 0; color: var(--muted); font-size: 14px; }
.content h1 { float: none; width: auto !important; margin: 0 0 16px; color: #f4f7fa; font-size: clamp(21px, 2.4vw, 27px); line-height: 1.25; }
.content h2 { float: none; width: auto !important; margin: 22px 0 14px; color: #f0f4f7; font-size: 19px; line-height: 1.3; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin: 0 0 14px; padding-bottom: 11px; border-bottom: 1px solid var(--border); }
.section-heading h2 { margin: 0; color: #f4f7fa; font-size: 19px; }
.section-heading .eyebrow { margin-bottom: 3px; }
.gallery-section { margin-bottom: 28px; }
.rss-back { float: right; margin: 3px 0 0 10px; }

/* Gallery cards */
ul.wallpapers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; float: none; width: 100%; margin: 0; padding: 0; }
ul.wallpapers > li.wall { display: flex; flex-direction: column; float: none; width: auto !important; height: auto !important; min-width: 0; margin: 0 !important; padding: 8px; overflow: hidden; border: 1px solid var(--border); border-radius: 11px; background: var(--surface); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
ul.wallpapers > li.wall:hover { transform: translateY(-2px); border-color: rgba(85,197,213,.5); background: var(--surface-raised); }
ul.wallpapers > li.wall > .item_title { order: 2; float: none; width: 100%; min-height: 40px; padding: 9px 2px 1px; }
ul.wallpapers > li.wall > .item_title a { display: block; float: none; overflow: hidden; color: #e7edf2; font-size: 13px; font-weight: 700; line-height: 1.4; text-overflow: ellipsis; }
ul.wallpapers > li.wall > .item_title a:hover { color: var(--accent-strong); }
ul.wallpapers > li.wall > .thumb { order: 1; float: none; width: 100%; margin: 0; }
ul.wallpapers > li.wall > .thumb a { display: block; float: none; position: relative; margin: 0; padding: 0; overflow: hidden; border: 0; border-radius: 7px; background: #080a0d; }
ul.wallpapers > li.wall > .thumb a:hover { border: 0; }
ul.wallpapers .thumb_img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .28s ease; }
ul.wallpapers > li.wall:hover .thumb_img { transform: scale(1.035); }
ul.wallpapers .mini-tags { right: 7px; bottom: 7px; }
.categoryList > li.wall { min-height: 0; }
.categoryList > li.wall > a:first-child { order: 2; display: block; padding: 8px 2px 0; color: #e7edf2; font-weight: 700; }
.categoryList > li.wall .thumb { order: 1; width: 100%; }
.categoryList > li.wall .thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Pagination, forms, content blocks */
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; width: 100%; margin: 24px auto 8px; padding: 0; color: var(--muted); }
.pagination a, .pagination span.disabled, .pagination span.selected { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; min-height: 34px; margin: 0; padding: 5px 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface); color: #c5ced7; }
.pagination a:hover, .pagination span.selected { border-color: var(--accent); background: #183039; color: #fff; }
.pagination span.disabled { color: #697480; }
.input-text, .input-textarea, .input-text-short, .input-other, input, select, textarea { max-width: 100%; border: 1px solid var(--border); border-radius: 7px; background: #0f1318; color: var(--text); }
.input-text, .input-textarea, .input-text-short, .input-other { padding: 9px 10px; }
.input-text:focus, .input-textarea:focus, input:focus, select:focus, textarea:focus { outline: 2px solid rgba(85,197,213,.25); border-color: var(--accent); }
.button, a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 7px 13px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-hover); color: var(--text); cursor: pointer; }
.button:hover, a.button:hover { border-color: var(--accent); background: #183039; color: #fff; }
fieldset, .block295px, .block590px, .modules { border-color: var(--border); border-radius: var(--radius); background: var(--surface); }
.description, .content-text { color: #c2cbd4; }
.wallpaper-resolutions { float: none; width: 100%; margin: 12px 0 20px; padding: 0 0 16px; border-color: var(--border); }
.wallpaper-resolutions a { display: inline-block; margin: 4px 5px 4px 0; padding: 5px 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.wallpaper-resolutions a:hover { background: #183039; color: #fff; }
.wallpaper-2ads-separator { float: none; width: 100%; border-color: var(--border); }

/* Wallpaper detail page */
.padding-row { max-width: 100%; }
.single_mwall { float: left; max-width: 100%; margin: 0 18px 16px 0; }
.single_wall { max-width: 100%; padding: 0; margin: 0; border: 0; }
.wallpaper-thumb { float: none; display: block; width: min(100%, 360px); padding: 5px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.wallpaper-thumb img { display: block; width: 100% !important; height: auto !important; border-radius: 6px; }
.wallpaper-separator { display: none; }
.wallpaper-ads-right { float: right; width: 300px; max-width: 100%; height: auto; margin: 0 0 20px 20px; }
.tagcloud { color: var(--muted); }
.tagcloud a { display: inline-block; margin: 3px; padding: 5px 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }

/* Footer */
.site-footer { margin-top: 34px; padding: 22px 0 10px; border-top: 1px solid var(--border); color: var(--muted); }
.footer-disclaimer { display: inline-block; margin-bottom: 12px; color: #dce4eb !important; font-size: 12px; font-weight: 700; }
.main_foot { float: none; display: block; width: 100%; height: auto; margin: 0; padding: 10px 0; background: none; color: #78838f; font-size: 11px; line-height: 1.9; }
.main_foot span { padding: 0 4px; color: #46515d; }
#footer { padding: 12px 0 0; color: #78838f; text-align: left; }

/* Legacy compatibility and utility classes */
.reset { clear: both; }
.wallinfo { border-color: var(--border); color: var(--muted); }
.comments li { border-color: var(--border); border-radius: 8px; background: var(--surface); }
.row_odd, .listStyle li:nth-child(even), .listStyle li:nth-child(odd) { background: transparent; }
#notifyBox { border-color: var(--border); background: var(--surface-raised); color: var(--text); }

@media (max-width: 1120px) {
    #body { width: min(100% - 28px, var(--content-width)); }
    .content_background { grid-template-columns: 160px minmax(0, 1fr); gap: 20px; }
    .right-panel { grid-column: 2; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; }
    .right-panel .side-panel, .right-panel .modules { margin-bottom: 0; }
    ul.wallpapers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .primary-nav { gap: 0; }
    .primary-nav a { padding-right: 9px; padding-left: 9px; }
}
@media (max-width: 760px) {
    #body { width: min(100% - 24px, var(--content-width)); }
    .container_inside { padding-top: 14px; }
    .header-main { align-items: flex-start; flex-direction: column; gap: 13px; }
    .brand-name { font-size: 25px; }
    .primary-nav { width: 100%; justify-content: flex-start; gap: 5px; }
    .primary-nav a { min-height: 34px; padding: 6px 9px; font-size: 12px; }
    .top-menu-ads { min-height: 0; margin-top: 12px; padding: 7px; }
    .content_background { display: flex; flex-direction: column; gap: 18px; }
    .content { order: 1; width: 100% !important; }
    .right-panel { order: 2; display: block; width: 100%; }
    .left-panel { order: 3; width: 100%; }
    .right-panel .side-panel, .left-panel .side-panel { margin-bottom: 12px; }
    ul.wallpapers { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    ul.wallpapers > li.wall { padding: 6px; }
    ul.wallpapers > li.wall > .item_title { min-height: 36px; padding-top: 7px; }
    ul.wallpapers > li.wall > .item_title a { font-size: 12px; }
    .home-intro { margin-bottom: 18px; }
    .home-intro > p:last-child { font-size: 13px; }
    .wallpaper-ads-right { float: none; margin: 15px auto 20px; }
    .single_mwall { float: none; margin: 0 auto 16px; }
    .wallpaper-thumb { margin: 0 auto; }
    .section-heading h2 { font-size: 17px; }
}
@media (max-width: 420px) {
    #body { width: calc(100% - 18px); }
    .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
    .brand-name { font-size: 22px; }
    .brand-tagline { font-size: 9px; letter-spacing: .12em; }
    .primary-nav a { padding: 5px 7px; font-size: 11px; }
    ul.wallpapers { gap: 8px; }
    ul.wallpapers > li.wall { padding: 5px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* The old left/right panel templates begin with a standalone line break. */
.content_background > br { display: none; }
/* Keep moderation controls available to administrators without affecting card layout. */
ul.wallpapers > li.wall > div[style*="float:right"] { order: 3; float: none !important; align-self: flex-end; }

/* Sidebar refinement – v2
   Append after the existing sidebar rules in modern.css. */
.left-panel,
.right-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    color: var(--muted);
}

/* Treat each existing Smarty sidebar module as a consistent dark card. */
.left-panel .side-panel,
.right-panel .side-panel,
.left-panel .modules,
.right-panel .modules,
.left-panel .block295px,
.right-panel .block295px,
.left-panel .block590px,
.right-panel .block590px,
.left-panel .categories,
.right-panel .categories,
.left-panel .resolutions,
.right-panel .resolutions,
.left-panel .partners,
.right-panel .partners,
.left-panel .sponsors,
.right-panel .sponsors,
.left-panel .login,
.right-panel .login {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: linear-gradient(155deg, #171c23 0%, #11151b 100%);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}

/* Old image-based sidebar headings become clean text headings. */
.left-panel .side-header,
.right-panel .side-header,
.left-panel [class^="side-header"],
.right-panel [class^="side-header"],
.left-panel .block295px h1,
.right-panel .block295px h1,
.left-panel .block590px h1,
.right-panel .block590px h1 {
    display: flex;
    align-items: center;
    float: none;
    width: auto;
    min-height: 0;
    height: auto;
    margin: 0 0 11px;
    padding: 0 0 10px;
    border: 0;
    border-bottom: 1px solid rgba(139, 224, 232, .18);
    background: none !important;
    color: #eef4f8;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.left-panel ul,
.right-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.left-panel li,
.right-panel li,
.left-panel .categories ul li,
.right-panel .categories ul li {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.left-panel li + li,
.right-panel li + li {
    border-top: 1px solid rgba(255, 255, 255, .055);
}

.left-panel li a,
.right-panel li a,
.left-panel .categories a,
.right-panel .categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 32px;
    padding: 6px 2px;
    color: #b8c3ce !important;
    font-size: 12px;
    line-height: 1.4;
    text-decoration: none;
    transition: color .16s ease, padding .16s ease;
}

.left-panel li a:hover,
.right-panel li a:hover,
.left-panel .categories a:hover,
.right-panel .categories a:hover {
    padding-left: 6px;
    color: var(--accent-strong) !important;
}

.left-panel .categories a.selected,
.right-panel .categories a.selected {
    color: var(--accent-strong) !important;
    font-weight: 700;
}

/* Resolution links should read as compact filter chips, not a text list. */
.left-panel .wallpaper-resolutions,
.right-panel .wallpaper-resolutions,
.left-panel .resolutions-list,
.right-panel .resolutions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}

.left-panel .wallpaper-resolutions a,
.right-panel .wallpaper-resolutions a,
.left-panel .resolutions-list a,
.right-panel .resolutions-list a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #0e1319;
    color: #aebbc7 !important;
    font-size: 11px;
}

.left-panel .wallpaper-resolutions a:hover,
.right-panel .wallpaper-resolutions a:hover,
.left-panel .resolutions-list a:hover,
.right-panel .resolutions-list a:hover {
    border-color: var(--accent);
    background: #183039;
    color: #fff !important;
}

/* Sidebar search and login controls. */
.left-panel .search_bg,
.right-panel .search_bg {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
}

.left-panel input,
.right-panel input,
.left-panel select,
.right-panel select {
    box-sizing: border-box;
    max-width: 100%;
}

.left-panel .input-text,
.right-panel .input-text,
.left-panel input[type="text"],
.right-panel input[type="text"],
.left-panel input[type="password"],
.right-panel input[type="password"] {
    width: 100%;
    min-height: 35px;
    padding: 8px 10px;
    border: 1px solid var(--border);
    border-radius: 7px;
    background: #0c1015;
    color: var(--text);
    font-size: 12px;
}

.left-panel input[type="submit"],
.right-panel input[type="submit"],
.left-panel .button,
.right-panel .button {
    min-height: 34px;
    padding: 6px 11px;
    border: 1px solid rgba(85, 197, 213, .35);
    border-radius: 7px;
    background: #183039;
    color: #eafcff;
    cursor: pointer;
}

.left-panel input[type="submit"]:hover,
.right-panel input[type="submit"]:hover,
.left-panel .button:hover,
.right-panel .button:hover {
    border-color: var(--accent);
    background: #21434c;
}

/* Avoid inherited legacy floats and fixed widths inside the narrow columns. */
.left-panel h1,
.left-panel h2,
.left-panel h3,
.left-panel h4,
.right-panel h1,
.right-panel h2,
.right-panel h3,
.right-panel h4 {
    float: none;
    max-width: 100%;
}

.left-panel img,
.right-panel img,
.left-panel iframe,
.right-panel iframe {
    max-width: 100%;
}

@media (max-width: 1120px) {
    .right-panel {
        align-items: stretch;
        gap: 12px;
    }
}

@media (max-width: 760px) {
    .left-panel,
    .right-panel {
        gap: 10px;
        width: 100%;
    }

    .left-panel .side-panel,
    .right-panel .side-panel,
    .left-panel .modules,
    .right-panel .modules,
    .left-panel .block295px,
    .right-panel .block295px,
    .left-panel .block590px,
    .right-panel .block590px,
    .left-panel .categories,
    .right-panel .categories,
    .left-panel .resolutions,
    .right-panel .resolutions,
    .left-panel .partners,
    .right-panel .partners,
    .left-panel .sponsors,
    .right-panel .sponsors,
    .left-panel .login,
    .right-panel .login {
        margin-bottom: 0;
        padding: 13px;
    }
}


/* Sidebar typography adjustments - merged into style.css */
.left-panel,
.right-panel {
    font-size: 14px;
    line-height: 1.65;
}
.left-panel a,
.right-panel a,
.left-panel li,
.right-panel li,
.left-panel label,
.right-panel label,
.left-panel input,
.right-panel input,
.left-panel select,
.right-panel select {
    font-size: 14px;
}
.left-panel .side-header,
.right-panel .side-header,
.left-panel h2,
.right-panel h2,
.left-panel h3,
.right-panel h3 {
    font-size: 15px;
    line-height: 1.4;
}
.left-panel .wallpaper-resolutions a,
.right-panel .wallpaper-resolutions a,
.left-panel .resolutions-list a,
.right-panel .resolutions-list a {
    font-size: 13px;
}
.left-panel .side-panel,
.right-panel .side-panel {
    margin-bottom: 18px;
}

/* Keep category names and wallpaper counts on the same line in the right sidebar. */
.right-panel .categories ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.right-panel .categories ul li > a {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 32px;
    padding: 6px 2px;
    line-height: 1.4;
}

.right-panel .categories ul li {
    white-space: nowrap;
}

/* Larger category names in the right sidebar; keep image counts compact. */
.right-panel .categories ul li > a {
    font-size: 16px !important;
    line-height: 1.45;
}
.right-panel .categories ul li > span,
.right-panel .categories ul li > small {
    font-size: 12px;
}
