/* TurkPorno header 1.2.0 — scoped to this header only. */
.tp-header{--tp-accent:var(--theme-hover-color);position:relative;z-index:30;background:var(--header-background);color:var(--nav-link-color);border-bottom:var(--header-border);margin:0 0 30px;font-family:Roboto,Arial,sans-serif}
.tp-header *{box-sizing:border-box}
.tp-header a{color:inherit;text-decoration:none}
.tp-header button,.tp-header input{font:inherit}
.tp-header .tp-bar{max-width:2048px;margin:auto;min-height:82px;display:flex;align-items:center;gap:12px;padding:0 24px}
.tp-header .tp-brand{flex:none;display:flex;align-items:center;gap:9px;white-space:nowrap}
.tp-header .tp-brand-mark{width:36px;height:40px;color:var(--tp-accent)}
.tp-header .tp-brand-name{font-size:27px;font-weight:800;letter-spacing:-1.1px;line-height:1.15}
.tp-header .tp-brand-name b{color:var(--tp-accent);font-weight:800}
.tp-header .tp-brand-sub{display:block;color:var(--main-grey-color);font-size:9px;letter-spacing:2.8px;margin-top:3px;font-weight:500}
.tp-header .tp-logo-image{display:block;width:auto;max-width:220px;max-height:51px}
.tp-header .tp-nav{display:flex;align-items:stretch;align-self:stretch;flex:none;gap:0}
.tp-header .tp-nav a{display:flex;align-items:center;gap:8px;padding:0 14px;position:relative;font-weight:700;font-size:14px;white-space:nowrap;letter-spacing:.1px}
.tp-header .tp-nav a+a:before{content:"";height:24px;width:1px;background:var(--input-bg2);position:absolute;left:0;top:calc(50% - 12px)}
.tp-header .tp-nav a:hover,.tp-header .tp-nav a.active{color:var(--tp-accent)}
.tp-header .tp-nav a.active:after{content:"";position:absolute;bottom:0;left:15px;right:15px;height:3px;background:var(--tp-accent)}
.tp-header .tp-icon{width:19px;height:19px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.tp-header .tp-search.search{display:block;position:relative;flex:1 1 180px;min-width:130px;max-width:none;width:auto;margin:0;padding:0;background:none;transform:none;opacity:1;visibility:visible}
.tp-header .tp-search form{display:block;width:100%;margin:0}
.tp-header .tp-search .search-inner{display:flex;align-items:center;position:relative;width:100%;background:var(--input-bg);border:var(--community-filter-input-border);border-radius:6px;overflow:hidden}
.tp-header .tp-search input{height:44px;width:100%;min-width:0;border:0!important;background:transparent!important;color:var(--input-color)!important;padding:0 45px 0 15px;outline:none;border-radius:0}
.tp-header .tp-search input::placeholder{color:var(--main-grey-color)}
.tp-header .tp-search .search-inner:focus-within{border-color:var(--tp-accent);outline:1px solid var(--tp-accent)}
.tp-header .tp-search .btn-search{position:absolute;right:0;top:0;transform:none;width:44px;height:44px;padding:12px;border:0;background:none;color:var(--input-color);cursor:pointer;display:flex;align-items:center;justify-content:center}
.tp-header .tp-actions{display:flex;align-items:center;flex:none;gap:9px}
.tp-header .tp-dropdown{position:relative;flex:none}
.tp-header .tp-dropdown>summary{display:flex;align-items:center;gap:8px;list-style:none;cursor:pointer;font-size:13px;font-weight:700;min-height:44px;padding:0 11px;border:1px solid transparent;border-radius:6px;white-space:nowrap;user-select:none}
.tp-header summary::-webkit-details-marker{display:none}
.tp-header .tp-profile>summary{width:44px;justify-content:center;padding:0;background:var(--btn-bg);border-color:var(--input-bg2)}
.tp-header .tp-dropdown>summary:hover,.tp-header .tp-dropdown[open]>summary{background:var(--tags-link-bg-hover)}
.tp-header .tp-chevron{width:13px;height:13px;transition:transform .15s}
.tp-header .tp-dropdown[open] .tp-chevron{transform:rotate(180deg)}
.tp-header .tp-flag{width:21px;height:14px;object-fit:cover;display:block;flex:none;border-radius:1px}
.tp-header .tp-popover{position:absolute;top:calc(100% + 10px);right:0;min-width:205px;max-width:min(310px,calc(100vw - 24px));max-height:70vh;overflow-y:auto;padding:7px;background:var(--member-menu-bg);border:1px solid var(--input-bg2);border-radius:8px;z-index:50}
.tp-header .tp-popover a,.tp-header .tp-popover .tp-current-language{display:flex;align-items:center;gap:10px;padding:12px;font-size:14px;border-radius:4px;cursor:pointer}
.tp-header .tp-popover a:hover{background:var(--tags-link-bg-hover);color:var(--general-color)}
.tp-header .tp-popover .tp-current-language{cursor:default;color:var(--main-grey-color)}
.tp-header .tp-popover .tp-join{background:var(--tp-accent);color:var(--lang-hover-color);font-weight:700;margin-top:3px}
.tp-header .tp-popover .tp-join:hover{background:var(--tp-accent)}
.tp-header .tp-user-name{display:block;padding:9px 12px 12px;color:var(--main-grey-color);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid var(--input-bg2);margin-bottom:4px}
.tp-header .tp-menu-button{display:none;background:var(--btn-bg);border:1px solid var(--input-bg2);border-radius:6px;color:var(--general-color);width:42px;height:42px;padding:9px;cursor:pointer;align-items:center;justify-content:center}
.tp-header :is(a,button,summary):focus-visible{outline:2px solid var(--tp-accent);outline-offset:3px}
@media(min-width:1800px){.tp-header .tp-bar{gap:14px}.tp-header .tp-nav a{padding-left:18px;padding-right:18px;font-size:15px}.tp-header .tp-brand-name{font-size:30px}}
@media(max-width:1600px){.tp-header .tp-bar{gap:10px;padding:0 18px}.tp-header .tp-brand-name{font-size:23px}.tp-header .tp-brand-mark{width:29px}.tp-header .tp-nav a{padding:0 12px;font-size:13px;gap:6px}.tp-header .tp-nav .tp-icon{width:16px;height:16px}.tp-header .tp-search.search{min-width:120px}.tp-header .tp-dropdown>summary{padding:0 8px}}
@media(max-width:1360px){.tp-header .tp-bar{min-height:72px;flex-wrap:wrap;gap:12px;padding:13px 18px}.tp-header .tp-brand{margin-right:auto}.tp-header .tp-brand-name{font-size:25px}.tp-header .tp-actions{margin-left:0}.tp-header .tp-menu-button{display:flex;order:4}.tp-header .tp-search.search{order:2;flex:1;max-width:none;margin:0}.tp-header .tp-actions{order:3}.tp-header .tp-nav{display:none;order:5;flex-basis:100%;align-self:auto;padding:5px 0 0;flex-direction:column;border-top:1px solid var(--input-bg2)}.tp-header.tp-menu-open .tp-nav{display:flex}.tp-header .tp-nav a{min-height:47px;padding:0 12px;font-size:15px;gap:12px}.tp-header .tp-nav a+a:before{display:none}.tp-header .tp-nav a.active{background:var(--tags-link-bg-hover);border-radius:5px}.tp-header .tp-nav a.active:after{display:none}.tp-header .tp-nav .tp-icon{width:19px;height:19px}}
@media(max-width:640px){.tp-header{margin-bottom:22px}.tp-header .tp-bar{padding:12px 14px;gap:10px}.tp-header .tp-brand-name{font-size:21px}.tp-header .tp-brand-sub{font-size:7px;letter-spacing:2px}.tp-header .tp-brand-mark{display:none}.tp-header .tp-logo-image{max-width:125px;max-height:40px}.tp-header .tp-search.search{order:5;flex-basis:100%;max-width:none;min-width:0}.tp-header .tp-nav{order:6}.tp-header .tp-actions{gap:3px}.tp-header .tp-dropdown>summary{padding:0 7px;gap:5px;min-height:40px}.tp-header .tp-menu-button{width:40px;height:40px}.tp-header .tp-search input{height:42px}.tp-header .tp-search .btn-search{height:42px}.tp-header .tp-popover{min-width:185px}}
@media(max-width:380px){.tp-header .tp-bar{padding-left:12px;padding-right:12px;gap:8px}.tp-header .tp-brand-mark{display:none}.tp-header .tp-brand-name{font-size:21px}.tp-header .tp-brand-sub{font-size:7px;letter-spacing:2px}.tp-header .tp-dropdown>summary{padding-left:6px;padding-right:6px}}
@media(prefers-reduced-motion:reduce){.tp-header *{transition:none!important}}

.tp-header .tp-brand-play{fill:var(--white-color)}
@media(max-width:380px){.tp-header .tp-language>summary>span{display:none}.tp-header .tp-actions{gap:0}.tp-header .tp-bar{gap:6px}.tp-header .tp-logo-image{max-width:105px}.tp-header .tp-brand-name{font-size:19px}}

/* Original Ultimate theme contract: html.light and kt_rt_theme. */
.tp-header .tp-theme-button{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:44px;padding:9px;border:1px solid transparent;border-radius:6px;background:none;color:var(--theme-color);cursor:pointer}
.tp-header .tp-theme-button:hover{color:var(--theme-hover-color);background:var(--tags-link-bg-hover)}
.tp-header .tp-theme-moon{display:none}
html.light .tp-header .tp-theme-sun{display:none}
html.light .tp-header .tp-theme-moon{display:block}
@media(max-width:640px){.tp-header .tp-theme-button{width:34px;height:40px;padding:6px}.tp-header .tp-language>summary>span{display:none}.tp-header .tp-actions{gap:0}.tp-header .tp-bar{gap:8px}}
@media(max-width:380px){.tp-header .tp-bar{padding-left:10px;padding-right:10px;gap:5px}.tp-header .tp-brand-name{font-size:17px}.tp-header .tp-brand-sub{font-size:6px;letter-spacing:1.6px}.tp-header .tp-logo-image{max-width:95px}.tp-header .tp-language .tp-chevron{display:none}.tp-header .tp-profile>summary{width:36px}}
