html::before {
  content: "";
  position: fixed;
  inset: -6%;
  z-index: 1;
  pointer-events: none;
  background:
    url("https://hdbn2.neocities.org/ro3nze.png")
      center / cover no-repeat;
  filter: grayscale(5%);
  opacity: 0.9;
          /* Старые Firefox */
    image-rendering: -moz-crisp-edges !important;

    /* Старые WebKit браузеры */
    image-rendering: -webkit-optimize-contrast !important;

    /* Старый Opera */
    image-rendering: -o-crisp-edges !important;

    /* Общая резкость */
    image-rendering: crisp-edges !important;

    /* Chrome, Edge, Yandex, современные браузеры */
    image-rendering: pixelated !important;

    /* Internet Explorer */
    -ms-interpolation-mode: nearest-neighbor !important;
    
  transform:
    translate3d(
      calc(var(--mx, 0px) * 1),
      calc(var(--my, 0px) * 1),
      0
    )
    scale(1.06);
  will-change: transform;
}


* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.wrapper-2 { transform: none; }
.box { transform: none; }
.link-list a { transform: none; }
:root {
  --c-header-border: black;
  --c-border: #000000;
  --c-bg: #FCEBBF;
  --c-accent: #F1AE4B;
  --c-text: #ffad4b;
  --cursor-default: url(https://hdbn2.neocities.org/5tkkxy.png);
  --cursor-pointer: url(https://hdbn2.neocities.org/wda7pt.png);
  --frame-src: url('');
  --frame-slice: 9;                     
  --frame-width: 9px;                   
  --frame-repeat: round;            
  --header-bg: url('https://hdbn2.neocities.org/qedetz.jpg');
  --header-bg-x: 50%;
  --header-bg-y: 44.5%;
  --link-bg-image: url('https://hdbn2.neocities.org/0zj6jm.jpg');
  --link-bg-size: 2000%;
  --box-bg-image: url('https://hdbn2.neocities.org/x3zmq4.jpg');
  --box-bg-size: 400%; 
}

.main-index::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://hdbn2.neocities.org/zc4nq7.gif") repeat;
  pointer-events: none;
  opacity: 1;
  z-index: -1;
  background-size: 1000px 1000px;
  
  contain: layout style paint;
}


html {
  cursor: var(--cursor-default), auto;
  filter: none;
  background-image: url('https://hdbn2.neocities.org/greenbg.gif');
  font-family: ms ui gothic;
  background-color: #FCE8F1;
  font-size: 12px;
  line-height: 12px;
  --wm-toolbar-height: 67px;
  image-rendering: pixelated;
}

.main-index {
  width:890px;
  max-width: 100%;
  
  border: var(--frame-width) solid transparent;
  margin: auto;
  border-image: var(--frame-src) var(--frame-slice) var(--frame-repeat);
  position:relative;
  z-index:200;
  box-shadow: 0 0px 20px 0 rgb(0 0 0 / 23%);
  background: url('https://hdbn2.neocities.org/tpki2i.jpg') center/cover no-repeat;
  background-origin: border-box;
  background-clip: border-box;
  padding: 10px 0 10px 0;
  contain: layout style;
  overflow-x: hidden;
  overflow-y: visible;
}

.index2 {
  border: var(--frame-width) solid transparent;
  width:100%;
  padding: 0px 10px;
  border-radius: 0;
  background-image: url('');
  border-image: var(--frame-src) var(--frame-slice) var(--frame-repeat);
  margin: 0 auto;
}

.header { border-bottom:2px solid; background: var(--header-bg) center/cover no-repeat; background-position: var(--header-bg-x) var(--header-bg-y); width:890px; max-width: 100%; margin:auto; height:190px; overflow-x: hidden; }
::selection { background-color:#f9f0f7; }
.link-list { list-style:none; margin:0; padding:0; }
.link-list li { margin:6px 0; }
.link-list a { 
  display:block;
  padding:8px 12px; 
  border:2px solid var(--c-border); 
  background: var(--link-bg-image), linear-gradient(to bottom, #fff7db 0%, #f7e0a8 50%, #edc493 51%, #f9edcc 100%);
  background-size: var(--link-bg-size) auto, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  color:var(--c-border); 
  text-decoration:none; 
  font-weight:bold;
  transition: all 0.2s ease;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.1);
  position:relative;
  text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.link-list a:hover { 
  background-color:var(--c-accent);
  color:#fff;
  transform: translateY(-2px) translateZ(0px);
  box-shadow: 3px 4px 0 rgba(0,0,0,0.15);
  text-decoration:none;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

html, body {
  background: url(https://hdbn2.neocities.org/4k8dvg.jpg) no-repeat center center fixed;
  background-size: cover;
}
body::after {
  opacity: 0.6; 
  z-index: -10;  
   
}

body { cursor: var(--cursor-default), auto; }
a, button, [role="button"], .link-list a:hover { cursor: var(--cursor-pointer), pointer; }

.main-index > .header {
  display: block;
  box-sizing: border-box;
  width: calc(100% - (var(--frame-width) * 2)) !important;
  margin: 0 auto !important;
}

html, body {
  width: 100%;
  max-width: 100%;
}

img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

.main-index, .wrapper, .header {
  max-width: 890px;
  box-sizing: border-box;
}

body > div[style*="position:absolute"] {
  max-width: 100vw !important;
  max-height: 100vh !important;
  contain: layout style paint !important;
}

.box iframe {
  border: none;
  outline: none;
  border-radius: 6px;
  width: 100%;
  height: 200px;
  mix-blend-mode: multiply; 
}

.wrapper-2 {
  display: grid !important;
  grid-template-columns: 180px 1fr 180px;
  gap: 5px;
  align-items: stretch;
}

.sidebar-left,
.main,
.sidebar-right {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.sidebar-left .box,
.main .box,
.sidebar-right .box {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sidebar-left .inner,
.main .inner,
.sidebar-right .inner {
  flex: 1;
}

.bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  width: 100%; 
  gap: 5px; 
  margin-top: 1px;
}

.bottom-grid .box {
  width: 100%; 
}

.wrapper-2.index2 {
  display: grid !important;
  grid-template-columns: 180px 1fr 180px;
  grid-template-rows: auto 33px auto;
  grid-auto-rows: auto !important;
  row-gap: 4px !important;
  align-items: start;
  position: relative;
}

.bottom-grid {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.box h1, .box h2, .box h3, .box h4, .box.markers-box {
    background: url("https://hdbn2.neocities.org/tai0xz.jpg") center/cover no-repeat;
    color: var(--c-border);
    border-bottom: 2px solid var(--c-border);
    
}

.header {color: black;}

a {
    display: flex !important;
    align-items: center !important;    
    justify-content: center !important;
    text-align: center !important;
}

.box.subbox-1 {
    background-image: url("https://hdbn2.neocities.org/th87gv.jpg"); 
    background-size: 150%;        
    background-position-x: 0%; 
    background-position-y: 100%;   
    background-repeat: no-repeat;
    image-rendering: pixelated !important;
    position: relative;
}
.box.subbox-2 {
    background-image: url("https://hdbn2.neocities.org/th87gv.jpg"); 
    background-size: 150%;        
    background-position-x: 100%; 
    background-position-y: 50%;   
    background-repeat: no-repeat;
    color: #000000;
    
}

body, html {
  cursor: var(--cursor-default) 0 0, auto;
}
a, button {
  cursor: var(--cursor-pointer) 0 0, pointer;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;

  background: url("https://hdbn2.neocities.org/c149ta.gif") repeat;
  background-size: cover;

  opacity: 0.5;
  pointer-events: none;

  z-index: -1;
}


html, body {
  scrollbar-width: none;       
  -ms-overflow-style: none;    
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;               
}

.sidebar-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.inner {
  -webkit-font-smoothing: antialiased;
}

.site-character {
  display: none;
}


.falling-leaf {
display: none;
}


.girlr {
  position: fixed;
  bottom: 10px;
  left: 0px;
  width: 200px;
  height: auto;
  
  border: none;
  outline: none;
  box-shadow: none;

  filter: 
    saturate(1.5)
    contrast(1)
    !important;
  transform: scale(1.09) scaleX(-1);
    opacity: 1
    !important;

 mix-blend-mode: multiply  ;

  z-index: 9999;

}
.girlr:hover {
  filter: none !important;
  transform: scale(1.1) scaleX(-1);
  opacity: 1
  !important;
  transition: 
  filter 0.1s ease-out,
  transform 0.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.girlr:active {
  transform: scale(1.09) scaleX(-1) ;
}
.subbox-1 p {
color: rgb(255, 183, 94);

text-shadow:
  1px 1px 1px rgba(0, 0, 0, 0.767),
  0 0 5px rgba(66, 45, 20, 0.897);
}




.sidebar-left .box .inner {
  color: rgb(255, 183, 94);
  text-shadow: 2px 2px rgb(0, 0, 0) !important;
}

.discord {
  filter:
  hue-rotate(-90deg)
 saturate(50%)
  brightness(1.2)
  contrast(1.1)
  sepia(50%)
  !important ;
}

.dots {
  color: #000000;
}