/* onionring.js !!! yay!!! */

/* START OF DYNAMIC ELEMENTS */

:root {
    --ckimg: url(https://file.garden/ZoVbPUYSQHEtpdHk/webrings/cookierun/2025.08/dynbg.webp);
    --ckbg: #277aa7;
    --ckborder: #091f5a;
}

#ckwr .webring-title {
    width: 50%;
    text-align: right;
    position: absolute;
    right:5px;
    top:0;
    filter:grayscale(1);
    opacity:50%;
}

#ckwr .webring-image {
    position: absolute;
    left:15px;
    bottom:10px;
}

#ckwr .webring-next, #ckwr .webring-prev{
  position: absolute;
}

#ckwr .webring-next {
    right:2px;
    bottom:8px;
}

#ckwr .webring-prev {
    right:50px;
    bottom:25px;
}

#ckwr .arrow-image{
  width:40px;
}

/* END OF DYNAMIC ELEMENTS */

#ckwr {
  margin: auto;
  width:180px;
  height:120px;
  box-sizing: border-box;
  background: var(--ckimg) var(--ckbg);
  background-position-y: 50%;
  border: 4px solid var(--ckborder);
  border-radius: 10px;
  display: inline-block;
  position: relative;
}

#ckwr>img{
    margin:0;
    padding: 0;
    max-width: 100% !important;
}

#ckwr .webring-wrapper{
  width:100%;
  height: 100%;
  display: flex;
  letter-spacing: normal !important;
  flex-direction: column;
  justify-content: center!important;
}

#ckwr .webring-flex{
    height: 100%;
  display:flex;
  justify-content: center!important;
  position: relative;
}

#ckwr .webring-title img{
  margin:0;
  margin-top: 1px;
  text-align: center;
  width: 100%;
}

#ckwr .webring-image{
  display:block;
  height:64px;
  width:64px;
  margin-top:4px;
}

#ckwr a {
    color: black;
    text-decoration: none;
}

#ckwr .webring-footer {
   text-align: center;
}

#ckwr .webring-next, #ckwr .webring-prev{
  display:flex;
  flex-direction: column;
  justify-content: center!important;
}

#ckwr .webring-next img {
  transform: scaleX(-1);
}