
html, body{
   min-height: 100vh;
}

header.container {
  max-width: 720px; 
  margin-top:0; 
  margin-bottom: 0; 
  padding-top:0; 
  padding-bottom: 0;
  padding-left:0; 
  padding-right:0;   
}

main.container { 
  max-width: 720px; 
  margin-top:0; 
  padding-top: 0;
  padding-left:0; 
  padding-right:0; 
}

article { 
  margin-left:0; 
  margin-right:0; 
  position: relative; 
}

hgroup > *:not(:first-child):last-child, h4 {
  --pico-color: unset;
}

td {
  vertical-align: top;
  line-height: 1;
  padding-right: 0;
  padding-left: 8px;  
}

.gh {
  position: absolute;
  top: 4px;   
  right: 8px; 
  z-index: 10;    
  pointer-events: auto; 
  padding:0;
  margin:0;
}


.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  z-index: 9999;
  cursor: pointer;
}

.bold {
  font-weight: 700;
}


.no-break {
  display: inline-block;
  word-break: keep-all;
}

.fnav {
  font-size: clamp(0.7rem, 3.5vw, 1.0rem);
}

.badge {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 0.2em 0.5em;
    border-radius: 0.3em;
    margin-right: 0.4em;
}

.rtg {
  border-radius: 0.6em;
  padding: 0.4em 0.4em;
}

.sec {
  outline-width: 1px;
  outline-style: solid;
  outline-color: black;
}


a {
  text-decoration: none;
  color: inherit;
  z-index:2; 
  position:relative;
}

a.u {
  text-decoration: underline;
  text-decoration-color: black;
}

a.o {
  text-decoration: underline;
  color: revert;
}

a.d {
  line-height: 1;
  display: block;
}


.linka {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-decoration: none;
  color: transparent;
  background: transparent;  
}



/* colors  */
.g {background-color: #e2e2e2;}
.g2 {color: #b9b9b9;}
.p {background-color: #FFA23A;}
.r {background-color: #F06048;}
.rh {background-color: #D93526;}
.w {background-color: #fff;}
.bl {background-color: #111111;}
.bgc{background-color: #f5f5f5}



/* stat */
.stat {
  display: flex;
  gap: 4px; 
  width: 100%;
}

.itm {
  flex: 1;
  min-width: 0;
  overflow: visible
}

.hstat {
  font-size: clamp(0.7rem, 3.5vw, 1.0rem);
  white-space: nowrap
}

.nstat {
  font-size: clamp(1.1rem, 4.5vw, 1.5rem);
  margin-bottom: 0;
  padding-bottom: 0;
  white-space: nowrap
}



/* heatmap */
.heatmap {
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(auto-fit, 1rem);
  width: 100%;
  box-sizing: border-box;
  margin-top: 1.5rem;
  overflow: hidden;
}

.hmc {
  width: 1rem;
  height: 1rem;
}


