/* Точка отсчёта · 09.11.2026 — approved male tools panel river background.
 * Applies ONLY to male atmosphere's lower "Мои инструменты" panel.
 * The approved main photo and female coastal atmosphere remain untouched.
 */
body[data-gender="male"] #tochka-tools.tn-root{
  background-color:#102a35;
  background-image:
    linear-gradient(180deg,
      rgba(4,18,27,.68) 0%,
      rgba(5,22,30,.51) 25%,
      rgba(5,24,32,.46) 48%,
      rgba(4,19,27,.61) 76%,
      rgba(2,15,23,.75) 100%),
    url("./assets/tools-mountain-river-male-20261109.webp");
  background-repeat:no-repeat,no-repeat;
  background-size:cover,cover;
  background-position:center,center 43%;
  border-color:rgba(223,221,206,.57);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.19),
             0 15px 34px rgba(4,22,34,.26);
}
body[data-gender="male"] #tochka-tools .tn-heading h2,
body[data-gender="male"] #tochka-tools h3,
body[data-gender="male"] #tochka-tools h4{
  color:#fff9ed;
  text-shadow:0 2px 5px rgba(0,10,17,.95),0 0 20px rgba(0,8,18,.65);
}
body[data-gender="male"] #tochka-tools .tn-caption{
  color:#f5f8f7;
  line-height:1.55;
  text-shadow:0 1px 3px #061820,0 2px 11px #061820;
}
body[data-gender="male"] #tochka-tools .tn-tile,
body[data-gender="male"] #tochka-tools .tn-favorites .tn-tile{
  background:linear-gradient(150deg,rgba(5,26,35,.78),rgba(5,30,37,.74));
  border-color:rgba(248,226,180,.74);
  color:#fff9ef;
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.13),
             0 6px 15px rgba(0,11,20,.37);
}
body[data-gender="male"] #tochka-tools .tn-name{
  color:#fffdf5;
  font-weight:750;
  line-height:1.33;
  letter-spacing:.004em;
  text-shadow:0 1px 3px #00141d,0 2px 9px rgba(0,12,20,.9);
}
body[data-gender="male"] #tochka-tools .tn-art,
body[data-gender="male"] #tochka-tools .tn-art svg{
  color:#ffdfaa;
  filter:drop-shadow(0 2px 4px rgba(0,9,16,.55));
}
body[data-gender="male"] #tochka-tools .tn-heading button,
body[data-gender="male"] #tochka-tools .tn-switch button{
  background:rgba(6,29,39,.86);
  color:#fff9ed;
  border-color:rgba(245,221,171,.66);
  text-shadow:0 1px 3px rgba(0,9,16,.9);
}
body[data-gender="male"] #tochka-tools .tn-switch button.on{
  background:linear-gradient(135deg,#eddaa7,#cbb47f);
  color:#172b34;
  text-shadow:none;
  border-color:#fbefd2;
}
body[data-gender="male"] #tochka-tools .tn-actions button{
  background:rgba(6,30,39,.94);
  color:#fff7e5;
  border-color:rgba(243,222,173,.66);
}
body[data-gender="male"] #tochka-tools .tn-tile:is(:hover,:focus-visible){
  background:linear-gradient(150deg,rgba(11,42,50,.92),rgba(6,31,41,.86));
  border-color:#ffdfa0;
}
body[data-gender="male"] #tochka-tools button:focus-visible{
  outline:3px solid #f5dfac;
  outline-offset:2px;
}
@media(max-width:600px){
  body[data-gender="male"] #tochka-tools.tn-root{
    background-position:center,center 45%;
  }
  body[data-gender="male"] #tochka-tools .tn-name{
    font-size:11px;
    line-height:1.34;
    overflow-wrap:break-word;
  }
  body[data-gender="male"] #tochka-tools .tn-tile{
    min-height:104px;
  }
}
@media(prefers-reduced-transparency:reduce){
  body[data-gender="male"] #tochka-tools .tn-tile{
    background:#0a2933;
  }
}

/* Correct the actual scrolling canvas. The tools section is intentionally transparent
   on the home tab, therefore its local background cannot replace the old landscape. */
body[data-gender="male"] .app > main.content:has(#s-home.on){
  background-color:#0d2633 !important;
  background-image:
    linear-gradient(180deg,rgba(4,20,30,.52) 0%,rgba(4,22,32,.55) 35%,rgba(4,19,29,.68) 70%,rgba(2,15,24,.78) 100%),
    url("./assets/tools-mountain-river-male-20261109.webp") !important;
  background-repeat:no-repeat,no-repeat !important;
  background-position:center top,center top !important;
  background-size:cover,cover !important;
}
