/* First important layer: readable paint independent of gradient-text support,
   scene brightness and backdrop-filter. Geometry and theme selection stay with
   their existing owners. Browser force-dark is not a detectable media query. */
:root{color-scheme:dark;background-color:#041017;color:#eff5ed}
@layer sukun-r1077-contrast {
html body .wrap>header{
 background:linear-gradient(150deg,#082b35c7,#06121dd9)!important;
}
html body .wrap>header :is(h1.shimmer-text,.sub){
 /* Solid glyph paint avoids independent inversion of text-clipped gradients.
    The seal and surrounding ornament retain their existing animation. */
 background:none!important;-webkit-background-clip:border-box!important;background-clip:border-box!important;
 -webkit-text-fill-color:currentColor!important;opacity:1!important;animation:none!important;
 text-shadow:0 2px 4px #000000b3!important;
}
html body .wrap>header h1.shimmer-text{color:#f5ebca!important}
html body .wrap>header .sub{color:#d8e9e2!important}
html body.r716-shell #prDashboard{
 background:linear-gradient(160deg,#071c26d1,#04121cc7)!important;
}
html body.r716-shell #prDashboard :is(.prPerfHint,.prPerfHelp){
 color:#d8e9e2!important;opacity:1!important;
 background:#04121cb8!important;text-shadow:none!important;
}
html body.r716-shell #prDashboard :is(.prPerfHelp p,.prPerfHelp summary){
 color:inherit!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;
}
html body.r716-shell #prDashboard :is(.prMetric small,.prNowText small,.prEyebrow,.prState:not(.on)),
html body.r716-shell .tabs .tab .tbL{
 -webkit-text-fill-color:currentColor!important;opacity:1!important;
}
html body.r716-shell .tabs .tab:not(.act):not(.tabTekke) .tbL{color:#c6ddd5!important}
/* Keep the selected label distinct without relying on colour alone: the
   existing active bezel, icon and aria-selected remain visible. */
html body.r716-shell .tabs .tab.act .tbL{color:#fff0c9!important}
html body.r716-shell #prDashboard :is(button,input,select,textarea):focus-visible,
html body .wrap>header a:focus-visible{
 outline:2px solid #fff0c9!important;outline-offset:3px!important;
}
/* r1083: the greeting and quotation need their own glass, rather than relying
   on the brightness of a scene or a barely tinted ancestor. The solid alpha
   paint remains readable over white even without backdrop-filter support.
   Existing geometry, hollow gemstone frames and menu animations stay intact. */
html body :is(#todayCard,#r616HomeHead){
 background:rgba(5,24,30,.88)!important;
 border-color:rgba(150,218,204,.42)!important;
 border-radius:14px!important;
 box-shadow:inset 0 1px 0 rgba(242,255,249,.17),inset 0 -1px 0 rgba(150,218,204,.08),0 10px 24px rgba(0,8,15,.16)!important;
 backdrop-filter:blur(6px) saturate(1.08)!important;
 -webkit-backdrop-filter:blur(6px) saturate(1.08)!important;
}
html body :is(#sozKutu,#anaVakit){
 background:rgba(4,27,32,.88)!important;
 border-color:rgba(150,218,204,.42)!important;
 box-shadow:inset 0 1px 0 rgba(242,255,249,.12),inset 0 -1px 0 rgba(150,218,204,.06)!important;
}
html[data-r1074-theme="berhet"] body :is(#todayCard,#r616HomeHead){
 background:rgba(7,22,39,.88)!important;
 border-color:rgba(218,185,117,.56)!important;
}
html[data-r1074-theme="berhet"] body :is(#sozKutu,#anaVakit){
 background:rgba(7,28,44,.88)!important;
 border-color:rgba(218,185,117,.56)!important;
}
html body :is(#tcHi,#r616Greeting,#sozKutu .sozMetin,#anaVakit .avSoz){
 color:#fbf3df!important;-webkit-text-fill-color:currentColor!important;
 opacity:1!important;text-shadow:0 1px 2px rgba(0,8,15,.6)!important;
}
html body :is(#tcSub,#r616GreetingSub,#r616HomeHead .r616Eyebrow,
 #sozKutu .sozTur,#sozKutu .sozGuncel,#sozKutu .sozKim i,#anaVakit .avAd){
 color:#d5e4df!important;-webkit-text-fill-color:currentColor!important;
 opacity:1!important;text-shadow:0 1px 2px rgba(0,8,15,.5)!important;
}
html body #sozKutu .sozKim{
 color:#bce9df!important;-webkit-text-fill-color:currentColor!important;
 opacity:1!important;
}
/* Battery mode keeps the same legible paint while avoiding another live blur.
   The full and balanced modes retain their existing animated ornament. */
html body[data-perf="pil"] :is(#todayCard,#r616HomeHead){
 backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
}
@media(prefers-reduced-transparency:reduce){
 html body .wrap>header,html body.r716-shell #prDashboard{background:#071c26!important}
 html body :is(#todayCard,#r616HomeHead,#sozKutu,#anaVakit),
 html[data-r1074-theme] body :is(#todayCard,#r616HomeHead,#sozKutu,#anaVakit){
  background:#071c26!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 }
}
/* Honour the operating system's high-contrast palette. Do not disable
   forced-colour adjustment as a workaround for browser night mode. */
@media(forced-colors:active){
 html body .wrap>header,html body.r716-shell #prDashboard,
 html body.r716-shell #prDashboard :is(.prPerfHint,.prPerfHelp),
 html body :is(#todayCard,#r616HomeHead,#sozKutu,#anaVakit),
 html[data-r1074-theme] body :is(#todayCard,#r616HomeHead,#sozKutu,#anaVakit){
  background:Canvas!important;color:CanvasText!important;border-color:CanvasText!important;
  border-image:none!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
 }
 html body .wrap>header :is(h1.shimmer-text,.sub),
 html body.r716-shell #prDashboard :is(.prPerfHelp p,.prPerfHelp summary),
 html body :is(#tcHi,#tcSub,#r616Greeting,#r616GreetingSub,#r616HomeHead .r616Eyebrow,
  #sozKutu .sozMetin,#sozKutu .sozTur,#sozKutu .sozGuncel,#sozKutu .sozKim,
  #sozKutu .sozKim i,#anaVakit .avAd,#anaVakit .avSoz){
  color:CanvasText!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important;
 }
 html body.r716-shell .tabs .tab .tbL{color:ButtonText!important}
 html body.r716-shell .tabs .tab.act{outline:2px solid Highlight!important;outline-offset:-3px!important}
 html body.r716-shell #prDashboard :is(button,input,select,textarea):focus-visible,
 html body .wrap>header a:focus-visible{outline-color:Highlight!important}
}
}
