/* ==========================================================================
   Porn Tubes List – site stylesheet
   All class names used by the PHP templates are kept; duplicates merged,
   vendor prefixes and dead plugin styles (tipsy, owl, sidr gradients) removed.
   ========================================================================== */

/* 1. Design tokens
   ========================================================================== */
:root {
  --c-brand: #006699;
  --c-brand-strong: #1565c0;
  --c-navy: #0d47a1;
  --c-blue: #2196f3;
  --c-link: #2772bb;
  --c-accent: #ff4081;
  --c-ink: #263238;
  --c-slate: #37474f;
  --c-panel: #abc;
  --c-panel-soft: #e3f2fd;
  --c-panel-alt: #dfefff;
  --c-surface: #fefefe;
  --c-surface-alt: #eee;
  --c-border: #d4d4d4;
  --c-border-soft: #cfd8dc;
  --c-success: #aaff99;
  --c-error: #ff9d96;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 4px;
  --radius: 5px;
  --radius-lg: 10px;
  --shadow-sm: 1px 1px 2px rgb(0 0 0 / .6);
  --ease: .25s ease;
  --container: 1530px;

  color-scheme: light;
}

/* 2. Base
   ========================================================================== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: .875rem;              /* 14px, respects user font settings */
  color: #fff;
  background: #fff;
}

h1, h2, h3, h4, h5, h6, p, a, ul, ol, li, form { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  color: var(--c-accent);
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
}
h3, #details { font-size: 14px; }

ul { list-style: none; }
ol { list-style-position: inside; }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; border: 0; }

/* Same cascade as the original stylesheet (a:link specificity matters) */
a:link, a:visited, a:active { color: var(--c-link); text-decoration: none; font-variant: small-caps; }
.art-blockheader a, .art-blockheader a:visited,
.btn a, .btn a:visited, .btn a:hover,
.art-footer a, .art-footer a:visited,
.buttonbar a, .buttonbar a:hover, .button { color: #fff; }
a:hover { color: var(--c-accent); font-variant: small-caps; transition: color var(--ease); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
}

input, select, textarea, button { font: inherit; font-size: 12px; vertical-align: middle; }

hr.nice,
hr.nicedark { border: 0; height: 1px; }
hr.nice     { background: linear-gradient(to right, transparent, rgb(255 255 255 / .75), transparent); }
hr.nicedark { background: linear-gradient(to right, transparent, rgb(85 85 85 / .75), transparent); }

/* Accessibility helpers */
.skip-link {
  position: absolute;
  inset-inline-start: 8px;
  top: -100px;
  z-index: 2000000;
  padding: 8px 14px;
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 3. Layout: header, sheet, footer
   ========================================================================== */
.art-header {
  position: relative;
  z-index: 1000;
  background: var(--c-brand);
}
.art-header-con {
  max-width: var(--container);
  margin-inline: auto;
}
#logo { display: inline-block; line-height: 0; }
#logoimg { width: 450px; }

.slogan { color: #fff; }

#menu-bar {
  position: absolute;
  top: 90px;
  z-index: 100000;
  padding-inline-start: 5px;
  font-size: 16px;
}
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--c-brand);
  color: #fff;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--c-accent); }

.art-sheet {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0;
  color: var(--c-ink);
  cursor: auto;
}

.art-footer {
  position: relative;
  padding: 0;
  border-top: 1px solid #eceff1;
  background: var(--c-ink);
  color: #fff;
  font-size: 18px;
  text-align: center;
}
.art-footer-inner { max-width: 980px; margin: 0 auto; padding: 20px; }
.art-footer a, .art-footer a:visited { color: #fff; }
.art-footer a:hover { color: var(--c-accent); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  margin-bottom: 1.5rem;
}
.footerblock { width: 210px; text-align: start; }
.footerblock h2 { margin-bottom: .4em; font-size: 1rem; }
.footerblock li { line-height: 1.7; }

.footer-seo {
  max-width: 900px;
  margin: 0 auto 2rem;
  font-size: 16px;
  line-height: 1.6;
  text-align: start;
  color: #eceff1;
}
.footer-seo h2 { margin: 1.6em 0 .5em; font-size: 1.15rem; }
.footer-seo h2:first-child { margin-top: 0; }
.footer-seo h3 { margin: 1.2em 0 .3em; color: #fff; font-size: 1rem; text-transform: none; }
.footer-seo p { margin: 0 0 .9em; }
.footer-seo ul { margin: 0 0 1em; padding-inline-start: 1.2em; list-style: disc; }
.footer-seo li { margin-bottom: .35em; }
.footer-seo strong { color: #fff; }
.footer-seo a, .footer-seo a:visited { color: #ff80ab; text-decoration: underline; text-underline-offset: 2px; }
.footer-seo a:hover { color: #fff; }

.footer-legal {
  max-width: 70ch;
  margin-inline: auto;
  font-size: .85em;
  line-height: 1.5;
  opacity: .85;
}
.footer-legal p + p { margin-top: .8em; }

/* 4. Blocks & boxes
   ========================================================================== */
.art-blockheader {
  background: var(--c-brand);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: background-color var(--ease);
}
.art-blockheader:hover,
.art-blockheader.hover { background: var(--c-brand-strong); }
.art-blockheader.is-active { background: var(--c-accent); }
.art-blockheader h2 { padding: 9px 0 9px 2px; color: #fff; font-size: 14px; }
.art-blockheader a,
.art-blockheader a:visited {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #fff;
  font-variant: small-caps;
  text-align: center;
  white-space: nowrap;
}

.art-blockcontent {
  background: var(--c-surface);
  border: 1px solid var(--c-panel);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 18px;
  line-height: 1.3;
  text-align: start;
}
.art-layout-cell { display: table-cell; vertical-align: top; }

.block-1 { height: 866px; overflow: auto; }
.block-2 { height: 260px; overflow: auto; }
.block-3 { height: 235px; overflow: hidden auto; }
.block-4 { height: 185px; overflow: auto; }
.block-5 { height: 360px; overflow: auto; }
.block-6 { height: 240px; overflow: auto; }
.block-7 { height: 142px; overflow: auto; }
.block-8 { height: 236px; overflow: auto; }

.box_bg {
  padding: 9px;
  background: #27384e;
  border: 1px solid #5282b9;
  border-radius: var(--radius);
  color: #ccc;
  text-align: center;
}
.boxhighlight { border: 2px solid var(--c-accent); box-shadow: 0 0 5px var(--c-accent); }

.cath {
  height: 305px;
  padding: 9px;
  background: var(--c-navy);
  border: 1px solid #5282b9;
  border-radius: var(--radius);
  color: #ddd;
  font-weight: 500;
  text-align: center;
}
.catbox img { display: block; margin: auto; }
.catelement { display: inline-block; width: 60%; vertical-align: top; }
.catlink a { font-size: 1.1em; text-align: start; }
.catmenu {
  width: 100%;
  margin: auto;
  padding-block: 5px;
  color: #333;
  font-size: 1.5em;
  text-align: center;
}
.categoryblock { display: inline-block; width: 250px; margin-bottom: 10px; }
.licat { display: inline-block; width: 100%; padding: 0; vertical-align: top; }
.column { display: inline-block; width: 245px; margin: 0 auto; padding: 3px; vertical-align: top; z-index: 2; }

.baritem, .catmenu, .btnpornstarsite, table.modelbio tr:nth-child(odd) { background: var(--c-panel-soft); }
.baritem { display: inline-flex; width: 26px; color: var(--c-panel); font-size: 16px; }
.baritem a { display: block; width: 100%; height: 100%; padding: 6px; }
.baritem:hover { background: var(--c-surface-alt); }

/* Info box (homepage intro) */
.infobox-container { position: relative; }
.infobox {
  position: relative;
  z-index: 5;
  padding: 11px 5px;
  border: 0;
  color: #fff;
  text-align: center;
}
.infobox h1,
.simple-menu {
  position: relative;
  inset-inline-start: -19px;
  z-index: 5;
  margin-inline-end: -38px;
  padding: 9px 5px;
  background: var(--c-blue);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  color: #fff;
  font-size: 20px;
  text-align: center;
}
.infobox-container .triangle-l,
.infobox-container .triangle-r {
  position: absolute;
  top: 36px;
  z-index: 1;
  width: 0;
  height: 0;
  border: 13px solid transparent;
}
.infobox-container .triangle-l { left: -26px; border-right-color: #000; }
.infobox-container .triangle-r { right: -26px; border-left-color: #000; }
.info-text { color: #000; text-align: start; }
.info-text h2 { padding: 20px 0 10px; text-shadow: 0 1px 0 #333; }

.infoboxalt {
  max-width: 100%;
  padding: 10px;
  background: var(--c-panel-alt);
  border: 1px solid #ccc;
  border-inline-start: 6px solid #ccc;
  border-radius: var(--radius-sm);
  font-size: .9em;
}
.infotext, .bottomtext {
  z-index: 1000;
  padding: 4px 5px;
  background: var(--c-panel);
  font-size: 18px;
  text-align: start;
}
.infotext { position: relative; bottom: 0; }
.bottomtext { position: absolute; bottom: 0; width: 100%; }
.infot2 { padding: 4px 5px; background: rgb(55 71 79 / .8); color: #fff; font-size: 16px; }

.centertext { max-width: 66%; margin: auto; font-size: 1em; line-height: 1.2; }
.centertext p { padding: 5px; }
.sitedescr { padding: 18px; }
.blogtext { font-size: 120%; }
.blogpic { display: block; max-width: 300px; }
.extratext { font-size: 12px; }
.titledescr { margin-top: 12px; color: var(--c-blue); font-size: 20px; }
.titleswing { text-decoration: underline; }

.modelface { padding: 10px; background: var(--c-panel); border: 1px solid #ccc; font-size: 18px; }
.modelbiocontainer { display: inline-block; width: 365px; margin: 5px; vertical-align: top; }
table.modelbio { width: 100%; }
table.modelbio tr:nth-child(even) { background: none; }

/* 5. Cards / tiles / thumbnails
   ========================================================================== */
.slidebox,
.slideboxfhg,
.catlistbox,
.slideboxmain,
.slideboxblog {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  vertical-align: top;
  white-space: normal;
}
.slidebox, .slideboxfhg { width: 215px; margin: 5px; background: var(--c-panel); }
.catlistbox { margin: 5px; background: var(--c-panel); }
.slideboxblog { background: var(--c-surface-alt); }
.slideboxmain { width: 235px; height: 200px; margin: 5px 2px 2px; background: var(--c-surface-alt); }
.slideboxmain img { max-height: 100%; }
.slideboximg { display: block; max-width: 250px; max-height: 350px; margin: auto; border: 0; }
.catlistimg { display: block; width: 280px; margin: auto; border: 0; }

.fallbox {
  position: relative;
  display: inline-block;
  width: 230px;
  margin: 5px;
  overflow: hidden;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
}
.tile {
  display: inline-block;
  float: left;
  width: 115px;
  margin: 0;
  padding: 3px;
  background: #27384e;
  font-size: 13px;
  opacity: .95;
  text-align: start;
}
.thumbtext {
  position: relative;
  bottom: 25px;
  padding: 1px 5px;
  background: rgb(207 216 220 / .6);
  font-size: .8em;
  font-weight: 700;
  text-align: start;
}
.datetag {
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 10;
  padding: 4px;
  background: var(--c-accent);
  border-radius: var(--radius-lg);
  color: #fff;
  font-size: small;
  font-weight: 700;
  line-height: .9;
}
.fhgscreen { min-width: 200px; max-width: 200px; }
.fhgborder { border-top: 1px solid var(--c-blue); }
.detailscreen { width: 148px; }
.detailscreens { width: 105px; }
#detailscreen { width: 480px; height: 384px; }
.imgbigger { width: 370px; }
.bigscreenright { float: right; margin: 20px; text-align: center; }

.slide-header { display: inline-block; width: 35px; height: 202px; margin: 5px 0 0; vertical-align: top; }
.slide-header h2 { position: relative; top: 145px; color: #fff; }

/* Image zoom: pure CSS now, no JS needed */
.img-zoom { transition: transform .2s ease-in-out; }
.img-zoom:hover, .transition { transform: scale(1.1); }

.cn { position: absolute; top: 5px; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity var(--ease); }
.cn:hover { opacity: 1; }
.exticon { position: absolute; top: 5px; right: 5px; }
.confidence { position: absolute; right: 5px; bottom: 30px; }
.batches { position: absolute; right: 5px; }

/* Lazy images (data-src) fade in */
img.lazyload, img.lazyloading { opacity: 0; }
img.lazyloaded { opacity: 1; transition: opacity .3s ease; }

/* Horizontal slider (replaces Owl Carousel) */
#owl-slider-wrapper {
  width: 100%;
  height: 210px;
  overflow: auto hidden;
  white-space: nowrap;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
#owl-slider-wrapper > * { scroll-snap-align: start; }
.owl-carousel .owl-item { float: left; width: 223px; }

/* Masonry (replaces jquery.waterfall) */
.wf { columns: 240px; column-gap: 10px; }
.wf > * { break-inside: avoid; }

/* 6. Lists
   ========================================================================== */
ol.allsites { display: inline-block; padding-inline-start: 50px; list-style: none; }
ol.allsites > li { display: inline-block; width: 220px; }

ol.boxes-list,
ol.boxes-list-nofilter { margin: 0; padding: 0; list-style: none; counter-reset: li-counter; }
ol.boxes-list > li,
ol.boxes-list-nofilter > li { position: relative; padding: 3px 0 0 4px; }
ol.boxes-list > li::before,
ol.boxes-list-nofilter > li::before {
  content: counter(li-counter);
  counter-increment: li-counter;
  display: none;
}
ol.boxes-list-referers > li { display: inline-flex; width: 185px; }

/* Review icon brightens on row hover (was JS) */
ol.boxes-list > li:hover .icon-review { opacity: 1; }

/* Breadcrumbs */
.breadcrumbs {
  width: 100%;
  background: var(--c-border-soft);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.breadcrumbs li { display: inline-block; }
.breadcrumbs li::after { content: "\27A4"; display: inline-block; margin: .6em; color: var(--c-accent); }
.breadcrumbs li.sep::after { content: "\2758"; }
.breadcrumbs li:last-of-type::after { display: none; }

/* 7. Buttons & controls
   ========================================================================== */
.button {
  display: inline-block;
  margin: 2px 5px 2px 2px;
  padding: 4px;
  background: var(--c-link);
  border: 1px solid #333;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 20px;
  font-variant: small-caps;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--ease);
}
.button:hover, .activebutton { background: var(--c-accent); }
.button input[type="checkbox"] { width: 0; height: 0; visibility: hidden; }
.button label { display: inline-block; margin: 60px 0 10px; cursor: pointer; }
.buttonbar { text-align: center; }
.buttonbar a, .buttonbar a:hover { width: 100%; height: 100%; color: #fff; }

.btn {
  width: 100%;
  max-width: 100%;
  min-width: 220px;
  min-height: 50px;
  background: var(--c-accent);
  opacity: .9;
}
.btn a, .btn a:visited, .btn a:hover,
.btninfo a, .btninfo a:visited, .btninfo a:hover {
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}
.btn div { display: block; padding: 8px; font-size: 24px; font-weight: 700; text-align: center; }
.btnsite { position: absolute; top: 300px; }
.btnpornstarsite { position: static; display: inline-block; margin: 3px; padding: 5px; border-radius: var(--radius-sm); }
.fixbuttons { padding: 9px; background: var(--c-accent); border: 1px solid #fff; border-radius: var(--radius-lg); }
.pricebtn { display: inline-block; margin: 3px; color: #ffe079; }
.discount {
  padding: 0 5px;
  background: rgb(237 255 0 / .25);
  border: 1px dashed var(--c-accent);
  border-radius: var(--radius-sm);
}
.vote { opacity: .6; cursor: pointer; transition: opacity var(--ease); }
.vote.is-voted { opacity: 1; }

.tab-left  { margin-inline-start: -6px; padding: 5px; overflow: hidden; border-radius: 0 var(--radius) var(--radius) 0; }
.tab-right { margin-inline-end: -6px; padding: 5px; border-radius: var(--radius) 0 0 var(--radius); }

.styled-button { height: 34px; vertical-align: top; }
.styled-select {
  display: inline-block;
  width: 240px;
  height: 29px;
  overflow: hidden;
  background: url("/cdn/img/arr_down.png") no-repeat 96% 0;
}
.styled-select.slate { width: 125px; height: 34px; background-position: right center; }
.styled-select.slate select {
  display: inline-block;
  width: 155px;
  height: 34px;
  border: 1px solid #ccc;
  background: url("/cdn/img/arr_down.png") no-repeat right center;
  font-size: 16px;
}

input.upload { position: absolute; z-index: -1; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
input.upload + label {
  display: inline-block;
  padding: .625rem 1.25rem;
  overflow: hidden;
  background: var(--c-link);
  border-radius: 6px;
  color: #fff;
  vertical-align: middle;
  cursor: pointer;
}
#uploading { display: none; vertical-align: middle; }

#select_lang { margin: -3px; font-size: 18px; vertical-align: middle; }

/* Search */
#search { width: 85%; height: 16px; padding: 5px; }
#searchfield { display: block; margin-bottom: 35px; text-align: center; }
#searchfield form { display: inline-block; margin: 5px 0 0; padding: 5px; border-radius: 3px; }
#searchfield form .biginput {
  width: min(600px, 100%);
  height: 40px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #c8c8c8;
  border-radius: 3px;
  color: var(--c-ink);
  font-size: 1.5em;
  font-weight: 400;
  transition: border-color .2s linear, box-shadow .2s linear;
}
#searchfield form .biginput:focus { border-color: var(--c-blue); box-shadow: 0 0 0 3px rgb(33 150 243 / .25); }
.searchinput { margin: 5px 5px 5px 10px; }

/* 8. Icons
   ========================================================================== */
.favicon { display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
.favico { margin-inline-start: 2px; padding-bottom: 1px; }
.icon-new, .icon-videos, .icon-premium, .icon-premium2, .icon-review {
  display: inline-block;
  width: 11px;
  height: 11px;
  vertical-align: middle;
}
.icon-new     { background: url("/cdn/img/new.png"); }
.icon-videos  { background: url("/cdn/img/play.png"); }
.icon-premium { background: url("/cdn/img/premium.png"); }
.icon-review  { background: url("/cdn/img/details2.png"); opacity: .2; transition: opacity var(--ease); }
.caticon { display: inline-block; width: 24px; height: 24px; margin-inline: 3px; vertical-align: middle; }
.revicon { margin-inline-start: 2px; opacity: .2; }
.fa { width: 20px; }
.fa-twitter { width: 16px; color: #55acee; }
.tmenuitem { display: inline-block; width: 16px; color: var(--c-accent); font-size: 16px; }

/* 9. Off-canvas menu (#sidr) – no plugin, toggled by site.js
   ========================================================================== */
#sidr, .sidr {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  z-index: 999999;
  width: min(260px, 85vw);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--c-brand);
  box-shadow: inset 0 0 5px 5px #222;
  color: #fff;
  font-size: 20px;
  text-align: start;
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform .2s ease, visibility 0s linear .2s;
}
/* #sidr ships with .hide in the markup – the panel is hidden off-canvas instead */
#sidr.hide, #sidr.hidden { display: block; }
#sidr.is-open, .sidr.is-open {
  transform: none;
  visibility: visible;
  transition: transform .2s ease;
}
body.sidr-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgb(0 0 0 / .45);
}
.sidr .sidr-inner { padding: 0 0 15px; }
.sidr .sidr-inner > p, .sidr > p { margin-inline: 15px; }
.sidr h1, .sidr h2, .sidr h3, .sidr h4, .sidr h5, .sidr h6 {
  margin: 0 0 5px;
  padding: 0 15px;
  background: linear-gradient(#4d4d4d, #1a1a1a);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  line-height: 24px;
}
.sidr p { margin: 0 0 12px; font-size: 13px; }
.sidr p a { color: rgb(255 255 255 / .9); }
.sidr ul li { display: block; margin: 0; border-bottom: 1px solid #1a1a1a; line-height: 48px; }
.sidr ul li a, .sidr ul li span { display: block; padding: 0 15px; color: #fff; }
.sidr ul li a:hover { background: rgb(255 255 255 / .1); }
.sidr ul li ul { margin: 0; border-bottom: none; }
.sidr ul li ul li { font-size: 13px; line-height: 40px; }
.sidr ul li ul li:last-child { border-bottom: none; }
.sidr ul li ul li a, .sidr ul li ul li span { padding-inline-start: 30px; color: rgb(255 255 255 / .8); }
.sidr form { margin: 0 15px; }
.sidr label { font-size: 13px; }
.sidr input:not([type="checkbox"], [type="button"], [type="submit"]),
.sidr textarea,
.sidr select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px;
  border: none;
  border-radius: 2px;
  background: rgb(0 0 0 / .1);
  color: rgb(255 255 255 / .8);
  font-size: 13px;
}
.sidr input[type="button"], .sidr input[type="submit"] { background: #fff; color: #333; }

/* 10. jQuery UI autocomplete (model page only)
   ========================================================================== */
.ui-autocomplete { z-index: 10000; background: #fff; border-radius: 0; }
.ui-menu { width: 200px; background: #fff; border: 1px solid #666; border-radius: 0 0 var(--radius) var(--radius); color: var(--c-ink); }
.ui-menu .ui-menu-item { position: relative; margin: 0; padding: 3px 1em 3px .4em; font-size: 1.5em; list-style: none; cursor: pointer; }
.ui-menu .ui-menu-divider { height: 0; margin: 5px 0; border-width: 1px 0 0; font-size: 0; line-height: 0; }
.ui-menu .ui-state-focus, .ui-menu .ui-state-active { margin: -1px; background: var(--c-blue); color: #fff; }

/* 11. Feedback: messages, toast, ticker, back-to-top
   ========================================================================== */
.error, .success { margin: auto; padding: 10px; font-size: 1.5em; text-align: center; }
.error   { background: var(--c-error); border: 1px solid var(--c-accent); }
.success { background: var(--c-success); border: 1px solid var(--c-border-soft); }

.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 24px;
  z-index: 2000000;
  width: fit-content;
  max-width: calc(100% - 32px);
  margin-inline: auto;
  padding: 12px 18px;
  background: var(--c-ink);
  border-inline-start: 5px solid var(--c-blue);
  border-radius: var(--radius);
  box-shadow: 0 6px 24px rgb(0 0 0 / .3);
  color: #fff;
  font-size: 16px;
  animation: toast-in .25s ease;
}
.toast--success { border-color: #4caf50; }
.toast--error   { border-color: var(--c-accent); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

.ticker { position: relative; overflow: hidden; }
.ticker--js > :first-child > :not(:first-child) { display: none; }
.ticker--js > :first-child > :first-child { animation: ticker-in .4s ease; }
.ticker--js .ticker-out { opacity: 0; transform: translateY(-100%); transition: opacity .4s ease, transform .4s ease; }
@keyframes ticker-in { from { opacity: 0; transform: translateY(100%); } }

.flash { animation: flash 1.5s ease; }
@keyframes flash { 0%, 40% { background: #fff59d; } }

.scroll-top-wrapper {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1002;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 2px 8px rgb(0 0 0 / .3);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--ease), visibility var(--ease);
}
.scroll-top-wrapper.show { opacity: 1; visibility: visible; }

/* Counter bubble */
.countcon { position: absolute; left: 50%; }
.counter {
  position: relative;
  top: -28px;
  left: -50%;
  z-index: -1;
  padding: 4px;
  background: var(--c-accent);
  border-radius: var(--radius-lg);
  color: #fff;
  font-size: small;
  font-weight: 700;
}
.arrow-down {
  position: relative;
  bottom: 0;
  left: -50%;
  width: 0;
  height: 0;
  border-inline: 5px solid transparent;
  border-top: 5px solid var(--c-accent);
}

/* 12. Detail / video pages
   ========================================================================== */
.detail-left  { display: inline-block; width: 100%; }
.detail-right { display: inline-block; float: right; width: 480px; vertical-align: top; }
.video-right  { display: inline-block; float: right; width: 685px; padding: 5px; vertical-align: top; }
.video { position: relative; max-width: 100%; overflow: hidden; }
.frame { position: absolute; top: 134px; width: 100%; height: 100%; overflow: auto; border: none; }
.fullvideo { position: absolute; top: 5px; left: -7px; }
#modelstwitter { display: inline-block; width: 480px; height: 350px; margin: 5px; overflow: hidden scroll; vertical-align: top; }
.tweet { display: inline-block; width: 100%; margin: 1px; background: #fff; color: #333; font-size: 16px; text-align: start; }
.tweetimg { display: block; max-width: 300px; max-height: 220px; border: 0; }
#screenshot {
  position: absolute;
  z-index: 95;
  display: none;
  width: 200px;
  padding: 5px;
  background: #333;
  border: 1px solid #ccc;
  color: #fff;
}
#categories { position: fixed; top: 170px; left: 65px; font-style: normal; }
#latestblogpost { position: absolute; left: 50%; }

/* 13. Utilities
   ========================================================================== */
.hidden, .hide, .tooltiptext, .info { display: none; }
.inline { display: inline; }
.clear, .cleared { clear: both; }
.center { text-align: center; }
.lefttext { text-align: start; }
.valign { vertical-align: middle; }
.posabsolute { position: absolute; }
.right { position: absolute; top: 5px; right: 0; }
.sidr.right { left: auto; right: 0; }
.rounded { border-radius: var(--radius); }
.shadow { box-shadow: var(--shadow-sm); }
.smaller { font-size: .7em; }
.trans { background: transparent; }
.expand { opacity: .3; }
.highlight { text-shadow: 0 0 10px #00c; }
.mobile { text-shadow: 0 0 10px #0f0; }
.red { color: var(--c-accent); }
.blue { color: var(--c-link); }
.rotate { transform: rotate(-90deg); }
.sticky { position: fixed; top: 0; left: 0; z-index: 1001; }
.insideTooltip { width: 202px; min-height: 200px; border-radius: 1em; font-size: 16px; }

/* 14. Responsive (largest → smallest)
   ========================================================================== */
@media (min-width: 600px) {
  .detailscreens { width: 156px; }
}

@media (max-width: 1280px) {
  #logoimg { width: 370px; padding-inline-start: 0; }
  .arrow-down { bottom: 5px; }
  .slogan { left: 0; font-size: 13px; }
}

@media (max-width: 1000px) {
  .slogan, .art-slogan, #latestblogpost { display: none; }
  .art-header { text-align: center; }
  #menu-bar { top: 50px; }
  h2 { font-size: 16px; }
  .button { font-size: 16px; }

  .slide-header { width: 100%; height: 100%; }
  .slide-header h2 { top: 0; left: 5px; font-size: 20px; transform: none; }

  .video { display: table-header-group; }
  .video-right { display: table-footer-group; float: none; width: 320px; }
  .detail-right { float: none; width: 100%; }
  .detail-left { float: none; }
  .detailrightimg { width: 100%; height: 100%; }
  .modelbiocontainer, #modelstwitter { width: 100%; }
}

@media (max-width: 768px) {
  body { font-size: .9375rem; }
  .art-header { height: auto; }
  #header { max-width: 100%; text-align: center; }
  #menu-bar { position: fixed; }
  .art-sheet { padding: 0; }

  .infobox { text-align: center; }
  .infobox h1 { inset-inline-start: auto; margin: 0; font-size: 100%; }
  .triangle-r, .triangle-l, #modelintro, .owl-slider, #imagebutton { display: none; }

  .art-blockheader h2 { font-size: 13px; }
  .art-blockcontent { font-size: 20px; line-height: 1.5; }
  .art-blockcontent li { font-size: 1.1em; }
  .art-footer-inner { width: 100%; padding: 20px 12px; }
  .footerblock { width: 100%; text-align: center; }

  .favicon { margin-inline-end: 5px; vertical-align: initial; }
  .sitefhgs { overflow: visible; white-space: normal; }
  .mobilecenter { text-align: center; }
  .right { top: 9px; }
  .titledescr { width: 100%; }
  .catelement { width: auto; }
  .detail-left { display: table; width: 100%; text-align: center; }
  #detailscreen { width: 350px; height: 263px; }
  .bigscreenright img { width: 330px; }
  .detailfreecontent { width: 100%; height: 50px; }
  .detailfreecontent h2 { top: auto; padding: 12px; }
  #modelsites { float: none; }

  .countcon { right: 35px; left: 135px; }
  .counter { top: initial; left: 115%; }
  .arrow-down {
    top: 11px;
    left: 65px;
    border: 5px solid transparent;
    border-right-color: var(--c-accent);
  }
  .batches { right: 10px; }
  .wf-column, .column { width: 85%; }
  .breadcrumbs { font-size: 11px; }
}

/* 15. Motion preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}