/* Shared deyw.de chrome for every Bitcoin tool migrated from BitcoinStats. */
body.deyw-bitcoin-tool{
  padding:20px 10px 40px !important;
}

body.deyw-bitcoin-tool .deyw-tool-shell{
  width:min(1280px,100%) !important;
  margin:0 auto !important;
  padding:14px !important;
  border:1px solid transparent !important;
  border-radius:18px !important;
  background:color-mix(in srgb,var(--shell-bg) 94%,transparent) !important;
  box-shadow:var(--shadow) !important;
  backdrop-filter:blur(10px) !important;
  -webkit-backdrop-filter:blur(10px) !important;
}

body.deyw-bitcoin-tool .deyw-tool-shell > .topbar{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:start !important;
  gap:12px !important;
  margin:0 0 12px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

body.deyw-bitcoin-tool .deyw-tool-shell > .container{
  width:100% !important;
  max-width:none !important;
  margin:0 auto !important;
}

body.deyw-bitcoin-tool .deyw-tool-shell .brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

body.deyw-bitcoin-tool .deyw-tool-shell .brand-mark{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  flex:0 0 auto;
  border:1px solid var(--title-icon-glass-border);
  border-radius:999px;
  background:var(--title-icon-glass-bg);
  color:var(--btcAccent) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.14);
  text-decoration:none !important;
}

body.deyw-bitcoin-tool .deyw-tool-shell .brand-mark .deyw-tool-icon{
  width:30px;
  height:30px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.deyw-bitcoin-tool .deyw-tool-shell .brand-title{
  margin:0;
  color:var(--text);
  font-size:16px;
  line-height:1.2;
}

body.deyw-bitcoin-tool .deyw-tool-shell .topbar-right,
body.deyw-bitcoin-tool .deyw-tool-shell .quick-nav{
  display:flex;
  align-items:center;
}

body.deyw-bitcoin-tool .deyw-tool-shell .topbar-right{gap:12px !important;}
body.deyw-bitcoin-tool .deyw-tool-shell .quick-nav{gap:12px;}

body.deyw-bitcoin-tool .deyw-tool-shell .icon-link,
body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-toggle{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:var(--text) !important;
  opacity:.9;
  text-decoration:none !important;
  cursor:pointer;
  transition:.15s ease;
}

body.deyw-bitcoin-tool .deyw-tool-shell .icon-link:hover,
body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-toggle:hover{
  color:var(--btcAccent) !important;
  opacity:1;
  background:rgba(247,147,26,.08);
  box-shadow:0 0 0 1px rgba(247,147,26,.38) inset,0 0 14px -4px rgba(247,147,26,.3);
}

body.deyw-bitcoin-tool .deyw-tool-shell .icon-link:focus-visible,
body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-toggle:focus-visible,
body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-option:focus-visible{
  outline:2px solid var(--link);
  outline-offset:2px;
}

body.deyw-bitcoin-tool .deyw-tool-shell .icon-link svg,
body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-toggle svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-wrap{
  position:relative;
  display:inline-flex;
}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-icon{display:none;}
body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-icon-night{display:inline-flex;}
html[data-theme-mode="dawn"] body.deyw-bitcoin-tool .deyw-tool-theme-icon-night,
html[data-theme-mode="day"] body.deyw-bitcoin-tool .deyw-tool-theme-icon-night,
html[data-theme-mode="dusk"] body.deyw-bitcoin-tool .deyw-tool-theme-icon-night{display:none;}
html[data-theme-mode="dawn"] body.deyw-bitcoin-tool .deyw-tool-theme-icon-dawn,
html[data-theme-mode="day"] body.deyw-bitcoin-tool .deyw-tool-theme-icon-day,
html[data-theme-mode="dusk"] body.deyw-bitcoin-tool .deyw-tool-theme-icon-dusk{display:inline-flex;}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-menu{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  z-index:50;
  display:grid;
  gap:4px;
  min-width:132px;
  padding:6px;
  border:1px solid var(--tooltip-line);
  border-radius:12px;
  background:var(--tooltip-bg);
  box-shadow:0 18px 36px rgba(0,0,0,.32);
}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-menu[hidden]{display:none;}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-option{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  width:100%;
  padding:8px 10px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:var(--tooltip-text);
  font-size:13px;
  text-align:left;
  cursor:pointer;
}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-option:hover{
  background:rgba(247,147,26,.12);
  color:var(--btcAccent);
}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-option::after{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  box-shadow:0 0 0 1px var(--tooltip-line) inset;
}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-option[aria-checked="true"]{
  background:rgba(96,165,250,.16);
}

body.deyw-bitcoin-tool .deyw-tool-shell .deyw-tool-theme-option[aria-checked="true"]::after{
  background:var(--btcAccent);
  box-shadow:none;
}

body.deyw-bitcoin-tool .deyw-tool-shell > .footer{
  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;
  gap:12px !important;
  margin:14px 0 0 !important;
  padding:12px 4px 2px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:var(--muted);
  font-size:.72rem;
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-left{
  display:flex;
  align-items:center;
  justify-self:start;
  gap:8px;
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-home,
body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--muted) !important;
  text-decoration:none !important;
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-home{
  width:28px;
  height:28px;
  border:1px solid var(--border);
  border-radius:9px;
  background:rgba(255,255,255,.025);
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-home:hover,
body.deyw-bitcoin-tool .deyw-tool-shell .footer-home:focus-visible,
body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate:hover,
body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate:focus-visible{
  color:var(--btcAccent) !important;
  outline:none;
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-home:focus-visible,
body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate:focus-visible{
  box-shadow:0 0 0 2px var(--link);
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-home .header-shortcut-icon,
body.deyw-bitcoin-tool .deyw-tool-shell .footer-home .footer-home-fallback{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:16px;
  height:16px;
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-home .header-shortcut-icon svg{
  display:block;
  width:100%;
  height:100%;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate{
  position:relative;
  width:24px;
  height:28px;
  font-size:17px;
  line-height:1;
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-sep{opacity:.5;}
body.deyw-bitcoin-tool .deyw-tool-shell .footer-copy{text-align:center;}
body.deyw-bitcoin-tool .deyw-tool-shell .footer-right{
  display:flex;
  align-items:center;
  justify-self:end;
  gap:8px;
}

body.deyw-bitcoin-tool .deyw-tool-shell .privacy{position:relative;}
body.deyw-bitcoin-tool .deyw-tool-shell .privacy-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  padding:0;
  border:1px solid var(--border);
  border-radius:9px;
  background:rgba(255,255,255,.025);
  color:var(--muted);
  cursor:pointer;
}

body.deyw-bitcoin-tool .deyw-tool-shell .privacy-toggle:hover,
body.deyw-bitcoin-tool .deyw-tool-shell .privacy-toggle[aria-expanded="true"]{
  color:var(--btcAccent);
  border-color:rgba(247,147,26,.45);
}

body.deyw-bitcoin-tool .deyw-tool-shell .privacy-toggle:focus-visible{
  outline:2px solid var(--link);
  outline-offset:2px;
}

body.deyw-bitcoin-tool .deyw-tool-shell .privacy-toggle svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

body.deyw-bitcoin-tool .deyw-tool-shell .privacy-popover{
  position:absolute;
  right:0;
  bottom:calc(100% + 9px);
  z-index:40;
  width:min(360px,calc(100vw - 30px));
  padding:12px;
  border:1px solid var(--tooltip-line);
  border-radius:12px;
  background:var(--tooltip-bg);
  color:var(--tooltip-text);
  box-shadow:0 18px 36px rgba(0,0,0,.32);
  font-size:.73rem;
  line-height:1.5;
}

body.deyw-bitcoin-tool .deyw-tool-shell .privacy-popover[hidden]{display:none;}
body.deyw-bitcoin-tool .deyw-tool-shell .privacy-popover strong{display:block;margin-bottom:5px;}
body.deyw-bitcoin-tool .deyw-tool-shell .privacy-popover p{margin:0;}
body.deyw-bitcoin-tool .deyw-tool-shell .build{font-family:var(--mono);}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate-icon-default,
body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate-icon-hover{
  position:absolute;
  top:50%;
  left:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1em;
  height:1em;
  pointer-events:none;
  transform-origin:50% 68%;
  transition:opacity .12s ease,transform .18s ease-out,filter .18s ease-out;
}

body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate-icon-default{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0);}
body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate-icon-hover{opacity:0;transform:translate(-50%,-50%) scale(.7) rotate(10deg);}

@media(hover:hover){
  body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate:hover .footer-donate-icon-default{opacity:0;transform:translate(-50%,-50%) scale(.72) rotate(-9deg);}
  body.deyw-bitcoin-tool .deyw-tool-shell .footer-donate:hover .footer-donate-icon-hover{opacity:1;transform:translate(-50%,-50%) scale(1) rotate(0);}
}

@media(max-width:760px){
  body.deyw-bitcoin-tool{padding:8px 4px 24px !important;}
  body.deyw-bitcoin-tool .deyw-tool-shell{padding:10px !important;border-radius:14px !important;}
  body.deyw-bitcoin-tool .deyw-tool-shell > .footer{grid-template-columns:1fr !important;}
  body.deyw-bitcoin-tool .deyw-tool-shell .footer-left,
  body.deyw-bitcoin-tool .deyw-tool-shell .footer-copy,
  body.deyw-bitcoin-tool .deyw-tool-shell .footer-right{justify-self:center;text-align:center;}
  body.deyw-bitcoin-tool .deyw-tool-shell .privacy-popover{right:auto;left:50%;transform:translateX(-50%);}
  body.deyw-bitcoin-tool .deyw-tool-shell .brand-mark{width:52px;height:52px;}
  body.deyw-bitcoin-tool .deyw-tool-shell .brand-mark .deyw-tool-icon{width:28px;height:28px;}
}

@media(max-width:560px){
  body.deyw-bitcoin-tool .deyw-tool-shell > .topbar{gap:8px !important;}
  body.deyw-bitcoin-tool .deyw-tool-shell .topbar-right,
  body.deyw-bitcoin-tool .deyw-tool-shell .quick-nav{gap:9px !important;}
  body.deyw-bitcoin-tool .deyw-tool-shell .brand-title{font-size:15px;}
}
