/* Wimmer Community V6.67.20 - Mobil Fejlbot */
@media(max-width:900px){
  html.wc-mobilebot-stabilized,
  body.wc-mobilebot-stabilized{
    overflow-x:hidden!important;
    scroll-behavior:auto!important;
    overscroll-behavior:none!important;
  }

  body.wc-mobilebot-stabilized *,
  html.wc-mobilebot-stabilized *{
    scroll-behavior:auto!important;
    animation:none!important;
  }

  body.wc-mobilebot-stabilized .layout,
  body.wc-mobilebot-stabilized main,
  body.wc-mobilebot-stabilized .app-main,
  body.wc-mobilebot-stabilized .app-content{
    max-width:100vw!important;
    overflow-x:hidden!important;
    transform:none!important;
  }

  body.wc-mobilebot-stabilized .wc-chat-compose textarea,
  body.wc-mobilebot-stabilized textarea#chatBody{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    resize:none!important;
  }
}

.wc-mobilebot-center{max-width:1420px;margin:0 auto;padding:22px;color:#f4fbfb}
.wc-mobilebot-hero,.wc-mobilebot-card,.wc-mobilebot-stats>div{
  background:linear-gradient(180deg,rgba(9,23,36,.96),rgba(6,17,28,.94));
  border:1px solid rgba(105,240,220,.14);
  border-radius:24px;
  box-shadow:0 18px 45px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.035);
}
.wc-mobilebot-hero{padding:28px;margin-bottom:16px}
.wc-mobilebot-kicker{margin:0 0 10px;color:#79f6e5;text-transform:uppercase;letter-spacing:.16em;font-weight:950;font-size:.8rem}
.wc-mobilebot-center h1{margin:0;color:#fff;font-size:clamp(36px,5vw,60px);line-height:1;letter-spacing:-.045em}
.wc-mobilebot-hero p{margin:12px 0 0;color:#b7cfcc;max-width:820px}
.wc-mobilebot-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}
.wc-mobilebot-stats>div{padding:18px;min-height:88px}
.wc-mobilebot-stats b{display:block;color:#5cf0dd;font-size:1.7rem}
.wc-mobilebot-stats span{display:block;color:#a9c0bd;font-weight:850;margin-top:8px}
.wc-mobilebot-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.wc-mobilebot-card{padding:20px}
.wc-mobilebot-card h2{margin:0 0 12px;color:#fff}
.wc-mobilebot-settings{display:grid;gap:12px}
.wc-mobilebot-settings label{display:grid;gap:6px;color:#d9eeeb;font-weight:850}
.wc-mobilebot-settings label:has(input){display:flex;align-items:center;gap:9px}
.wc-mobilebot-settings select{min-height:42px;border-radius:14px;border:1px solid rgba(132,231,220,.15);background:rgba(3,13,22,.88);color:#f4fbfb;padding:0 12px}
.wc-mobilebot-center button{border:0;border-radius:15px;min-height:44px;padding:0 16px;background:linear-gradient(135deg,#5cf0dd,#7df5b8);color:#041c18;font-weight:950;cursor:pointer}
.wc-mobilebot-card li,.wc-mobilebot-card p{color:#a9c0bd;line-height:1.55}
.wc-mobilebot-table-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}
.wc-mobilebot-table-head span{color:#79f6e5;font-weight:850}
.wc-mobilebot-loglist{display:grid;gap:10px}
.wc-mobilebot-log{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:12px;padding:14px;border-radius:18px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.08)}
.wc-mobilebot-log.severity-critical{border-color:rgba(255,92,122,.35)}
.wc-mobilebot-log.severity-warning{border-color:rgba(255,190,90,.30)}
.wc-mobilebot-log-main strong{display:block;color:#fff;font-size:1.04rem}
.wc-mobilebot-log-main p{margin:7px 0;color:#c8dcda;line-height:1.45}
.wc-mobilebot-log-main small,.wc-mobilebot-log-main em{display:block;color:#8fa8a6;margin-top:5px;font-style:normal;word-break:break-word}
.wc-mobilebot-log-main details{margin-top:8px;color:#9fb8b6}
.wc-mobilebot-log-main code{display:block;white-space:pre-wrap;word-break:break-word;background:rgba(0,0,0,.24);padding:8px;border-radius:10px;margin-top:6px}
.wc-mobilebot-log-actions{display:grid;gap:7px;align-content:start;justify-items:end}
.wc-mobilebot-log-actions span,.wc-mobilebot-log-actions em{display:inline-flex;align-items:center;min-height:28px;border-radius:999px;padding:0 10px;background:rgba(92,240,221,.10);border:1px solid rgba(92,240,221,.16);color:#eafff8;font-style:normal;font-weight:850}
.wc-mobilebot-log-actions form{margin:0}
.wc-mobilebot-log-actions button{min-height:34px;font-size:.86rem}
.wc-mobilebot-empty{text-align:center;color:#a9c0bd;padding:26px}
@media(max-width:900px){
  .wc-mobilebot-center{padding:14px 12px 90px}
  .wc-mobilebot-grid,.wc-mobilebot-stats{grid-template-columns:1fr}
  .wc-mobilebot-log{grid-template-columns:1fr}
  .wc-mobilebot-log-actions{justify-items:start;display:flex;flex-wrap:wrap}
}


/* V6.67.21 diagnosekort */
.wc-mobilebot-diagnose-card{
  margin-bottom:16px;
}
.wc-mobilebot-diagnose-card code{
  display:inline-block;
  padding:3px 7px;
  border-radius:8px;
  background:rgba(0,0,0,.25);
  color:#7df5b8;
}
.wc-mobilebot-diagnose-card ol{
  color:#c8dcda;
  line-height:1.6;
}


/* V6.67.23 - Stærk auto-fix til mobil blink/ryst */
@media(max-width:900px){
  html.wc-mobilebot-strongfix,
  body.wc-mobilebot-strongfix{
    overflow-x:hidden!important;
    scroll-behavior:auto!important;
    overscroll-behavior:none!important;
    background-attachment:scroll!important;
  }

  body.wc-mobilebot-strongfix,
  body.wc-mobilebot-strongfix.wc-has-brand-bg{
    background-attachment:scroll!important;
    background-position:center top!important;
    background-size:cover!important;
  }

  body.wc-mobilebot-strongfix *{
    scroll-behavior:auto!important;
    animation:none!important;
    will-change:auto!important;
  }

  body.wc-mobilebot-strongfix .layout,
  body.wc-mobilebot-strongfix .app-main,
  body.wc-mobilebot-strongfix .app-content,
  body.wc-mobilebot-strongfix main{
    transform:none!important;
    overflow-x:hidden!important;
    max-width:100vw!important;
  }

  body.wc-mobilebot-profilefix .profile-hero,
  body.wc-mobilebot-profilefix .wc-profile-clean-layout,
  body.wc-mobilebot-profilefix .wc-profile-clean-card,
  body.wc-mobilebot-profilefix .card{
    transform:none!important;
    animation:none!important;
    will-change:auto!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    contain:paint!important;
  }

  body.wc-mobilebot-profilefix .profile-hero,
  body.wc-mobilebot-profilefix .wc-profile-clean-card{
    box-shadow:0 8px 22px rgba(0,0,0,.22)!important;
  }

  body.wc-mobilebot-chatfix .wc-chat-mega,
  body.wc-mobilebot-chatfix .wc-chat-panel{
    height:100svh!important;
    max-height:100svh!important;
    overflow:hidden!important;
  }

  body.wc-mobilebot-chatfix .wc-chat-compose textarea,
  body.wc-mobilebot-chatfix textarea#chatBody{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    resize:none!important;
  }
}

.wc-mobilebot-log.status-auto-fixed{
  border-color:rgba(125,245,184,.34)!important;
}
.wc-mobilebot-log.status-auto-fixed .wc-mobilebot-log-actions em{
  background:rgba(125,245,184,.13)!important;
  color:#bfffe3!important;
  border-color:rgba(125,245,184,.25)!important;
}


/* V6.67.24 - Fast profil mobil anti-blink
   Denne gælder straks på profilsider, ikke kun efter fejl-detektion.
   Formål: stop Samsung/Android viewport-jitter på profile.php?u=...
*/
@media(max-width:900px){
  body.wc-page-profile,
  body.wc-page-profile.wc-has-brand-bg{
    overflow-x:hidden!important;
    scroll-behavior:auto!important;
    overscroll-behavior-y:none!important;
    background-attachment:scroll!important;
    background-position:center top!important;
    background-size:cover!important;
    min-height:100svh!important;
    transform:none!important;
    will-change:auto!important;
  }

  body.wc-page-profile *,
  body.wc-mobilebot-profile-immediate *{
    scroll-behavior:auto!important;
  }

  body.wc-page-profile .layout,
  body.wc-page-profile .app-main,
  body.wc-page-profile .app-content,
  body.wc-page-profile main,
  body.wc-page-profile .profile-hero,
  body.wc-page-profile .wc-profile-clean-layout,
  body.wc-page-profile .wc-profile-clean-card,
  body.wc-page-profile .card,
  body.wc-page-profile .profile-card,
  body.wc-page-profile .profile-cover,
  body.wc-page-profile .profile-header{
    transform:none!important;
    animation:none!important;
    will-change:auto!important;
    transition-property:background-color,color,border-color,box-shadow,opacity!important;
    overflow-x:hidden!important;
    max-width:100vw!important;
    backface-visibility:hidden!important;
  }

  body.wc-page-profile .profile-hero,
  body.wc-page-profile .wc-profile-clean-card,
  body.wc-page-profile .card,
  body.wc-page-profile .profile-card,
  body.wc-page-profile .profile-cover,
  body.wc-page-profile .profile-header,
  body.wc-page-profile .glass,
  body.wc-page-profile [class*="glass"],
  body.wc-page-profile [style*="backdrop-filter"]{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  body.wc-page-profile .profile-hero,
  body.wc-page-profile .wc-profile-clean-card,
  body.wc-page-profile .card{
    box-shadow:0 8px 22px rgba(0,0,0,.22)!important;
    contain:paint!important;
  }

  body.wc-page-profile img,
  body.wc-page-profile video,
  body.wc-page-profile canvas{
    max-width:100%!important;
    height:auto;
    transform:none!important;
    animation:none!important;
  }

  body.wc-page-profile .profile-hero,
  body.wc-page-profile .profile-header,
  body.wc-page-profile .wc-profile-clean-top,
  body.wc-page-profile .wc-profile-clean-hero{
    position:relative!important;
    top:auto!important;
    bottom:auto!important;
  }

  body.wc-page-profile .wc-profile-clean-layout,
  body.wc-page-profile .profile-layout,
  body.wc-page-profile .profile-grid{
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }
}

@media(max-width:900px){
  body.wc-mobilebot-profile-immediate .profile-hero,
  body.wc-mobilebot-profile-immediate .wc-profile-clean-layout,
  body.wc-mobilebot-profile-immediate .wc-profile-clean-card,
  body.wc-mobilebot-profile-immediate .card{
    transform:none!important;
    animation:none!important;
    will-change:auto!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    contain:paint!important;
  }
}


/* V6.67.27 - global hard mobil anti-blink
   Ligger aktivt på alle mobilsider med det samme.
*/
@media(max-width:900px){
  html.wc-mobilebot-globalfix,
  body.wc-mobilebot-globalfix,
  body.wc-mobilebot-globalfix.wc-has-brand-bg{
    overflow-x:hidden!important;
    scroll-behavior:auto!important;
    overscroll-behavior:none!important;
    background-attachment:scroll!important;
    background-position:center top!important;
    background-size:cover!important;
    transform:none!important;
    will-change:auto!important;
  }

  body.wc-mobilebot-globalfix *,
  body.wc-mobilebot-globalfix *::before,
  body.wc-mobilebot-globalfix *::after{
    scroll-behavior:auto!important;
    animation:none!important;
    will-change:auto!important;
    backface-visibility:hidden!important;
  }

  body.wc-mobilebot-globalfix .layout,
  body.wc-mobilebot-globalfix .app-main,
  body.wc-mobilebot-globalfix .app-content,
  body.wc-mobilebot-globalfix main,
  body.wc-mobilebot-globalfix section,
  body.wc-mobilebot-globalfix article,
  body.wc-mobilebot-globalfix .card,
  body.wc-mobilebot-globalfix .wc-dashboard-v6675,
  body.wc-mobilebot-globalfix .wc-profile-clean-layout,
  body.wc-mobilebot-globalfix .wc-profile-clean-card,
  body.wc-mobilebot-globalfix .profile-hero,
  body.wc-mobilebot-globalfix .wc-chat-mega,
  body.wc-mobilebot-globalfix .wc-chat-panel,
  body.wc-mobilebot-globalfix .wc-mobilebot-center,
  body.wc-mobilebot-globalfix .wc-ownerstatus{
    transform:none!important;
    overflow-x:hidden!important;
    max-width:100vw!important;
    animation:none!important;
    will-change:auto!important;
  }

  /* Samsung Browser kan blinke med filter/blur/glass */
  body.wc-mobilebot-globalfix .card,
  body.wc-mobilebot-globalfix .profile-hero,
  body.wc-mobilebot-globalfix .wc-profile-clean-card,
  body.wc-mobilebot-globalfix .wc-notif-hero,
  body.wc-mobilebot-globalfix .wc-ownerstatus-hero,
  body.wc-mobilebot-globalfix .wc-mobilebot-card,
  body.wc-mobilebot-globalfix .wc-errorbot-card,
  body.wc-mobilebot-globalfix [class*="glass"]{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }

  /* Hover/scale på mobil kan give gen-render/blink */
  body.wc-mobilebot-globalfix a:hover,
  body.wc-mobilebot-globalfix button:hover,
  body.wc-mobilebot-globalfix .wc-dashboard-shortcut-card:hover,
  body.wc-mobilebot-globalfix .wc-chat-thread:hover,
  body.wc-mobilebot-globalfix .wc-profile-clean-card:hover{
    transform:none!important;
  }

  body.wc-mobilebot-globalfix img,
  body.wc-mobilebot-globalfix video,
  body.wc-mobilebot-globalfix canvas,
  body.wc-mobilebot-globalfix iframe{
    max-width:100%!important;
    transform:none!important;
    animation:none!important;
  }

  /* Brug ikke 100dvh til almindelige mobilsider - det giver ofte hop ved adresselinje */
  body.wc-mobilebot-globalfix:not(.wc-chat-standalone-open){
    min-height:100svh!important;
    height:auto!important;
  }

  /* Chat beholder lukket viewport, men med stabil svh */
  body.wc-mobilebot-globalfix.wc-chat-standalone-open{
    height:100svh!important;
    max-height:100svh!important;
    overflow:hidden!important;
  }
}


/* V6.67.27 - Diagnose logs skal ikke ligne fejl */
.wc-mobilebot-diagnostics{
  margin-top:16px;
  opacity:.92;
}
.wc-mobilebot-diagnostics > p{
  color:#9fb8b6;
  margin-top:-4px;
}
.wc-mobilebot-log.severity-info{
  border-color:rgba(92,240,221,.16)!important;
  background:rgba(92,240,221,.035)!important;
}
.wc-mobilebot-log.severity-info .wc-mobilebot-log-actions span{
  background:rgba(92,240,221,.10)!important;
  color:#cffff9!important;
}


/* V6.67.28 - slet mobilfejl */
.wc-mobilebot-clean-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:14px;
  margin:0 0 16px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(9,23,36,.96),rgba(6,17,28,.94));
  border:1px solid rgba(105,240,220,.14);
  box-shadow:0 18px 45px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.035);
}
.wc-mobilebot-clean-actions form{
  margin:0;
}
.wc-mobilebot-clean-actions button,
.wc-mobilebot-log-actions button.danger{
  min-height:38px;
}
.wc-mobilebot-clean-actions .ghost{
  background:rgba(255,255,255,.075)!important;
  color:#eafff8!important;
  border:1px solid rgba(92,240,221,.18)!important;
}
.wc-mobilebot-clean-actions .danger,
.wc-mobilebot-log-actions button.danger{
  background:linear-gradient(135deg,#ff647c,#ff9b73)!important;
  color:#21060a!important;
}
@media(max-width:800px){
  .wc-mobilebot-clean-actions{
    display:grid;
  }
  .wc-mobilebot-clean-actions form,
  .wc-mobilebot-clean-actions button{
    width:100%;
  }
}

/* V6.67.29 - Ejerstyret mobil stabilitet global CSS */
@media(max-width:900px){
  body.wc-mst-global-safe,
  body.wc-mst-global-safe.wc-has-brand-bg{
    overflow-x:hidden!important;
    scroll-behavior:auto!important;
    overscroll-behavior:none!important;
    background-attachment:scroll!important;
    transform:none!important;
    will-change:auto!important;
  }
  body.wc-mst-global-safe .layout,
  body.wc-mst-global-safe main,
  body.wc-mst-global-safe .app-main,
  body.wc-mst-global-safe .app-content{
    max-width:100vw!important;
    overflow-x:hidden!important;
    transform:none!important;
  }
  body.wc-mst-no-animation *,
  body.wc-mst-no-animation *::before,
  body.wc-mst-no-animation *::after{
    animation:none!important;
    scroll-behavior:auto!important;
    will-change:auto!important;
  }
  body.wc-mst-no-blur .card,
  body.wc-mst-no-blur .profile-hero,
  body.wc-mst-no-blur .wc-profile-clean-card,
  body.wc-mst-no-blur .wc-notif-hero,
  body.wc-mst-no-blur [class*="glass"]{
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
  }
  body.wc-mst-no-hover a:hover,
  body.wc-mst-no-hover button:hover,
  body.wc-mst-no-hover .card:hover{
    transform:none!important;
  }
  body.wc-mst-profile-safe .profile-hero,
  body.wc-mst-profile-safe .wc-profile-clean-layout,
  body.wc-mst-profile-safe .wc-profile-clean-card,
  body.wc-mst-profile-safe .card{
    transform:none!important;
    animation:none!important;
    will-change:auto!important;
    contain:paint!important;
  }
  body.wc-mst-chat-safe.wc-chat-standalone-open{
    height:100svh!important;
    max-height:100svh!important;
    overflow:hidden!important;
  }
  body.wc-mst-chat-safe .wc-chat-compose textarea,
  body.wc-mst-chat-safe textarea#chatBody{
    height:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    resize:none!important;
  }
  body.wc-mst-simple-cards .card,
  body.wc-mst-simple-cards .wc-profile-clean-card,
  body.wc-mst-simple-cards .wc-notif-card{
    box-shadow:0 8px 22px rgba(0,0,0,.20)!important;
  }
}


/* V6.67.30 - åbne fejl adskilt fra auto-fixed */
.wc-mobilebot-fixed{
  margin-top:16px;
  opacity:.96;
}
.wc-mobilebot-fixed > p{
  color:#9fb8b6;
  margin-top:-4px;
}
.wc-mobilebot-log.status-auto-fixed,
.wc-mobilebot-log.status-fixed{
  border-color:rgba(125,245,184,.26)!important;
  background:rgba(125,245,184,.035)!important;
}
.wc-mobilebot-log.status-auto-fixed .wc-mobilebot-log-actions em,
.wc-mobilebot-log.status-fixed .wc-mobilebot-log-actions em{
  background:rgba(125,245,184,.13)!important;
  color:#bfffe3!important;
  border-color:rgba(125,245,184,.25)!important;
}

/* V6.67.37: Emergency no-blink CSS loaded separately in wc_mobile_noblink_emergency.css */

/* V6.67.38: mobilebot JS disabled to stop resize/watchdog blink loop. */
