/*
  РАССВЕТ СИЛЫ • Male daylight atmosphere v1
  Scoped strictly to the male preference. Do not change women’s theme or app logic.
  Warm ivory canvas, dawn-lit mountain photography, deep pine accents, honey-gold highlights.
*/
body[data-gender="male"]{
 --dawn-ivory:#f6f3ec;
 --dawn-paper:#fffcf6;
 --dawn-sand:#ede4d6;
 --dawn-sage:#e7eee7;
 --dawn-forest:#3f5b4a;
 --dawn-leaf:#5a735f;
 --dawn-graphite:#2f3533;
 --dawn-gold:#cfa45c;
 --dawn-gold-light:#e3c58a;
 --navy:#2f453a;
 --deep:#334d40;
 --forest:#466651;
 --gold:#cfa45c;
 --gold2:#e3bd78;
 --ivory:#f6f3ec;
 --paper:#f9f5ed;
 --muted:#67776d;
 --line:#dfddcf;
 --shadow:0 12px 28px rgba(59,72,54,.11);
 background:radial-gradient(circle at 12% 4%,#fcebd0 0,transparent 44%),linear-gradient(165deg,#e9e9dc,#f6f3ec 44%,#e6ede5 100%);
 color:var(--dawn-graphite);
}
body[data-gender="male"] .app{
 color:var(--dawn-graphite);
 background:var(--dawn-ivory);
 box-shadow:0 0 65px rgba(40,58,45,.13);
}
/* Hero: retain the original authentic mountain-sunset photo, remove night-darkening */
body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(93deg,rgba(248,246,231,.97) 0%,rgba(246,244,225,.96) 24%,rgba(245,241,222,.88) 41%,rgba(238,229,201,.52) 61%,rgba(250,222,174,.08) 100%);
 background:#eee5d4;
 color:#2d4539;
 border-bottom:1px solid #dec7a0;
}
body[data-gender="male"] .intro-shell::before{
 background-position:68% 45%;
 filter:brightness(1.15) saturate(1.02) contrast(1.01);
}
body[data-gender="male"] .intro-shell::after{background:var(--intro-overlay)}
body[data-gender="male"] .intro-shell .brand b{color:#2b4938;text-shadow:0 1px 9px #fff8}
body[data-gender="male"] .intro-shell .brand small{color:#89704b}
body[data-gender="male"] .intro-shell .logo{
 border-color:#d1aa68;
 box-shadow:0 5px 19px rgba(42,62,39,.18);
}
body[data-gender="male"] .intro-shell .eyebrow{
 color:#55705b;
 font-weight:800;
 letter-spacing:2.6px;
 text-shadow:0 1px 8px #fff9;
}
body[data-gender="male"] .intro-shell .hero h1{
 color:#2c4537;
 text-shadow:0 1px 11px rgba(255,250,234,.72);
}
body[data-gender="male"] .intro-shell .hero h1 em{color:#9e6e2d}
body[data-gender="male"] .intro-shell .hero p{
 color:#41564b;
 font-weight:520;
 text-shadow:0 1px 9px rgba(255,252,237,.76);
}
body[data-gender="male"] .intro-shell .switch{
 background:rgba(255,252,241,.91);
 color:#365744;
 border:1px solid rgba(183,160,113,.65);
 box-shadow:0 5px 15px rgba(62,74,47,.1);
}
body[data-gender="male"] .intro-shell .switch input{accent-color:#4d7b5b}
body[data-gender="male"] .intro-shell .btn.primary,
body[data-gender="male"] .btn.primary{
 background:linear-gradient(105deg,#d2a356 0%,#f1d59a 50%,#cb9851 100%);
 color:#283b2d;
 border:1px solid #e8c990;
 box-shadow:0 8px 20px rgba(149,114,61,.19);
}
body[data-gender="male"] .intro-shell .btn.outline{
 color:#355f45;
 border:1.5px solid #7f9e84;
 background:rgba(253,253,245,.87);
 box-shadow:0 6px 18px rgba(40,73,49,.1);
}
body[data-gender="male"] .intro-shell .genderbar{
 background:linear-gradient(126deg,rgba(255,253,242,.94),rgba(249,248,234,.89));
 border:1px solid rgba(255,254,235,.94);
 box-shadow:0 15px 30px rgba(63,73,48,.15);
 backdrop-filter:blur(13px);
}
body[data-gender="male"] .intro-shell .genderbar b{color:#34553f}
body[data-gender="male"] .intro-shell .genderbar p{color:#5a7060}
body[data-gender="male"] .intro-shell .genderbtn{
 color:#385944;
 background:linear-gradient(135deg,rgba(250,251,241,.96),rgba(237,243,230,.94));
 border:1px solid #b5c6b0;
 box-shadow:0 3px 9px rgba(53,80,61,.07);
}
body[data-gender="male"] .intro-shell #gender-male.active{
 color:#264b35;
 border:1.5px solid #d3ae6c;
 background:linear-gradient(115deg,#efdab2,#f7e9c8);
 box-shadow:0 5px 14px rgba(179,135,72,.18);
}
body[data-gender="male"] .intro-shell #gender-female{
 background:#fbf8ef;
 color:#3e6664;
 border-color:#bbd5cf;
}
/* Sunlit navigation */
body[data-gender="male"] .nav{
 background:rgba(255,253,244,.97);
 border-bottom:1px solid #d8decd;
 box-shadow:0 5px 19px rgba(58,81,55,.07);
 scrollbar-color:#bbcea9 transparent;
}
body[data-gender="male"] .nav button{
 color:#4c6755;
 border:1px solid transparent;
}
body[data-gender="male"] .nav button.active,
body[data-gender="male"] .nav button:hover{
 color:#2b6041;
 background:linear-gradient(130deg,#e6f0e3,#f9f0d7);
 border-color:#c8daba;
}
body[data-gender="male"] .nav button:focus-visible,
body[data-gender="male"] .btn:focus-visible,
body[data-gender="male"] .task:focus-visible{
 outline:3px solid #b99a55;outline-offset:2px;
}
/* Scenic photo remains visible behind the first panels, not behind text */
body[data-gender="male"] main.content{
 background-color:var(--dawn-ivory);
 background-image:
  radial-gradient(ellipse 64% 32% at 15% 5%,rgba(255,235,193,.33),transparent),
  linear-gradient(180deg,rgba(248,247,234,.70) 0%,rgba(248,247,234,.79) 260px,rgba(247,246,238,.89) 590px,#f6f3ec 1020px),
  var(--male-scenic-bg,linear-gradient(135deg,#eee7d5,#eef1e4));
 background-size:100% 100%,100% 100%,100% auto;
 background-repeat:no-repeat;
 background-position:center top,center top,center top;
 color:#31473c;
}
body[data-gender="male"] .sectionhead h2,
body[data-gender="male"] .day-title,
body[data-gender="male"] .panel h3,
body[data-gender="male"] .resource h4{
 color:#2c4838;
}
body[data-gender="male"] .sectionhead small,
body[data-gender="male"] .mini,
body[data-gender="male"] .caption,
body[data-gender="male"] .footnotes{color:#607567}
body[data-gender="male"] .preview-note{
 background:rgba(255,252,240,.91);
 border:1px solid #e2dac3;
 color:#5b705f;
}
body[data-gender="male"] .panel,
body[data-gender="male"] .resource{
 background:linear-gradient(140deg,rgba(255,254,248,.96),rgba(248,250,240,.94));
 color:#2e4338;
 border:1px solid rgba(227,226,207,.92);
 box-shadow:0 11px 27px rgba(43,63,48,.105);
 backdrop-filter:blur(7px);
}
body[data-gender="male"] .panel p,
body[data-gender="male"] .resource p,
body[data-gender="male"] .tips{color:#52695d}
body[data-gender="male"] .kicker{color:#937039}
body[data-gender="male"] .quote{
 background:linear-gradient(100deg,#f8f0dd,#fcfbf3);
 border-left-color:#cba05b;
 color:#405744;
}
body[data-gender="male"] .tag{
 background:#f6edd7;
 border:1px solid #dfcaa3;
 color:#83632d;
}
body[data-gender="male"] .day{
 color:#3c5546;
 background:rgba(255,253,246,.96);
 border:1px solid #e5ddcc;
 box-shadow:0 4px 11px rgba(55,72,55,.06);
}
body[data-gender="male"] .day span,
body[data-gender="male"] .day em{color:#6c8073}
body[data-gender="male"] .day.current{
 color:#fffdf1;
 background:linear-gradient(125deg,#5e7b62,#38664c);
 border-color:#668a6c;
 box-shadow:0 8px 17px rgba(61,96,67,.22);
}
body[data-gender="male"] .day.current span,
body[data-gender="male"] .day.current em{color:#f6e8c9}
body[data-gender="male"] .day.complete{
 color:#385f44;
 background:#e7f1e6;
 border-color:#bad4bf;
}
body[data-gender="male"] .task{
 background:#f7f9f3;
 color:#375443;
 border:1px solid #dbe5d7;
}
body[data-gender="male"] .task:hover{border-color:#c5b081}
body[data-gender="male"] .task.checked{
 background:#e7f2e7;
 border-color:#b8d5ba;
 color:#315b41;
}
body[data-gender="male"] .task .check{border-color:#93b19c}
body[data-gender="male"] .task.checked .check{
 background:#477b56;
 border-color:#477b56;
 color:white;
}
body[data-gender="male"] .info,
body[data-gender="male"] .mutedbox,
body[data-gender="male"] details{
 background:rgba(238,245,236,.97);
 color:#455f4e;
 border-color:#c7d8c6;
}
body[data-gender="male"] summary{color:#3b6c4f}
body[data-gender="male"] .field{
 background:#fffefb;
 color:#304b3e;
 border:1px solid #b9cdbd;
}
body[data-gender="male"] .field::placeholder{color:#819486}
body[data-gender="male"] .label{color:#4c6a55}
body[data-gender="male"] .field:focus{
 border-color:#8eb89b;
 box-shadow:0 0 0 3px rgba(137,186,148,.22);
}
body[data-gender="male"] .statrow strong{color:#386448}
body[data-gender="male"] .checkline{border-color:#d9e4d6}
body[data-gender="male"] .btn.dark{
 background:linear-gradient(125deg,#51765a,#365e47);
 border-color:#567b5c;
 color:#fffefa;
 box-shadow:0 5px 13px rgba(63,102,66,.16);
}
body[data-gender="male"] .btn.ghost{
 color:#36563e;
 background:#edf2e8;
 border-color:#cadaaa;
}
body[data-gender="male"] .btn.outline{
 color:#3f654e;
 background:rgba(254,253,245,.85);
 border:1px solid #a9c0ad;
}
body[data-gender="male"] .progressline{background:#e1e8db}
body[data-gender="male"] .progressline span{background:linear-gradient(90deg,#6d9e78,#d2ac65)}
body[data-gender="male"] .tabs button{
 background:#fffdfa;
 color:#457053;
 border-color:#d4ded0;
}
body[data-gender="male"] .tabs button.active{
 background:#4b7c5e;
 color:white;
}
body[data-gender="male"] .vbox{
 background:linear-gradient(120deg,#425b4b,#8a9d80);
 color:#fef4dd;
}
body[data-gender="male"] .lock{background:#f1f1e7;color:#4e6558}
body[data-gender="male"] .editor-note{
 background:#faf2df;
 border-color:#dfc79c;
 color:#5a6b56;
}
body[data-gender="male"] .small-note{color:#617568}
body[data-gender="male"] .footer{
 color:#6f8072;
 background:#f8f6ef;
 border-top:1px solid #deded2;
}
body[data-gender="male"] .footer b{color:#365f47}
/* Photos and day banners: preserve sunlight rather than putting black vignettes on everything */
body[data-gender="male"] .mood-item{
 border:1px solid #eadbb9;
 box-shadow:0 8px 19px rgba(67,77,52,.16);
}
body[data-gender="male"] .mood-item img{filter:brightness(1.11) saturate(.92)}
body[data-gender="male"] .mood-item::after{
 background:linear-gradient(180deg,transparent 45%,rgba(20,43,30,.7) 100%);
}
body[data-gender="male"] .mood-item span{color:#fff8de;text-shadow:0 1px 5px #1e2c27}
body[data-gender="male"] .day-cover{
 border:1px solid #ddc79e;
 box-shadow:0 7px 18px rgba(63,69,49,.13);
}
body[data-gender="male"] .day-cover img{filter:brightness(1.13) saturate(.98)}
body[data-gender="male"] .day-cover::after{
 background:linear-gradient(180deg,transparent 44%,rgba(29,51,40,.76));
}
/* The new habit tracker and breathing practice should share the fresh morning air */
body[data-gender="male"] #s-habits .ht-hero{
 background-image:linear-gradient(105deg,rgba(248,246,228,.94),rgba(241,239,217,.79) 45%,rgba(239,230,200,.35) 100%),var(--ht-bg);
 color:#2e4e3d;
}
body[data-gender="male"] #s-habits .ht-hero h2{color:#2e4e3d}
body[data-gender="male"] #s-habits .ht-hero p{color:#4d6454}
body[data-gender="male"] #s-habits .ht-hero .ht-eyebrow{color:#84612a}
body[data-gender="male"] #s-breath:before{
 background-image:
 linear-gradient(180deg,rgba(244,243,226,.48) 0%,rgba(241,244,227,.58) 18%,rgba(244,246,236,.89) 42%,rgba(244,246,238,.96) 100%),
 var(--br-bg);
}
body[data-gender="male"] #s-breath .br-intro,
body[data-gender="male"] #s-breath .br-detail-heading{
 color:#2a4a38;
 text-shadow:0 1px 12px rgba(255,252,236,.8);
}
body[data-gender="male"] #s-breath .br-intro h2,
body[data-gender="male"] #s-breath .br-detail-heading h2{color:#2f4e39}
body[data-gender="male"] #s-breath .br-intro p,
body[data-gender="male"] #s-breath .br-detail-heading p,
body[data-gender="male"] #s-breath .br-hero-quick span{color:#435d4b}
body[data-gender="male"] #s-breath .br-kicker{color:#84652d}
body[data-gender="male"] #s-breath .br-topnav>span{
 color:#456551;text-shadow:0 1px 8px #fffbef;
}
body[data-gender="male"] #s-breath .br-practice::after{
 background:linear-gradient(0deg,rgba(28,61,45,.83) 0%,rgba(24,61,46,.48) 54%,rgba(29,68,49,.12) 100%);
}
/* Mobile: sunlight with legible text, responsive cards and clear tap targets */
@media(max-width:850px){
 body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(94deg,rgba(248,246,232,.98) 0%,rgba(246,244,227,.95) 37%,rgba(242,233,204,.78) 62%,rgba(238,220,174,.29) 100%);
 }
 body[data-gender="male"] .intro-shell::before{background-position:64% 42%}
 body[data-gender="male"] .nav button{min-height:42px}
}
@media(max-width:520px){
 body[data-gender="male"] .intro-shell{
 --intro-overlay:linear-gradient(94deg,rgba(250,247,231,.98) 0%,rgba(249,245,228,.96) 32%,rgba(245,239,217,.9) 56%,rgba(244,228,195,.61) 76%,rgba(246,224,181,.3) 100%);
 }
 body[data-gender="male"] .intro-shell::before{background-position:63% 45%}
 body[data-gender="male"] .intro-shell .hero h1{color:#2d4739}
 body[data-gender="male"] .intro-shell .hero p{color:#3f5748}
 body[data-gender="male"] .intro-shell .genderbar{
 background:linear-gradient(125deg,rgba(255,254,247,.95),rgba(247,247,231,.91));
 }
 body[data-gender="male"] main.content{
 background-image:
 radial-gradient(circle at 15% 2%,rgba(255,224,169,.22),transparent 55%),
 linear-gradient(180deg,rgba(248,247,235,.72) 0%,rgba(247,246,235,.86) 300px,#f6f3ec 770px),
 var(--male-scenic-bg,linear-gradient(130deg,#f4eedf,#e1e9df));
 background-size:100% 100%,100% 100%,auto 640px;
 background-position:center top,center top,56% top;
 }
 body[data-gender="male"] .panel,
 body[data-gender="male"] .resource{background:rgba(255,254,249,.94)}
}
@media(prefers-reduced-motion:reduce){
 body[data-gender="male"] *{scroll-behavior:auto!important}
}
