@font-face {
src: url(/fonts/pc-9800.ttf);
font-family: 'pc-9800';
font-display: swap;
}

body {
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(https://kkul.neocities.org/media/backgrounds/checkbg.png) !important;
  background-size: 100px;
  cursor: url(/media/cursor/hand.gif), progress;
  font-family: 'pc-9800';
  font-size: 12px;
  }

html,
body {
  height: 100%;
  overflow: hidden;
}

/* wrapper keeps everything centered */
.device-wrapper {
  position: relative;
  width: 720px;   /* match image width */
  height: 920px;  /* match image height */
}

/* WHITE SCROLLABLE SCREEN */
.screen {
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: white;
  overflow: hidden; 
  z-index: 1;
  border-radius: 8px;
}

/* content inside screen */
.screen-content {
  height: 93%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 12px;
  padding-bottom: 0px;
  box-sizing: border-box;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* OVERLAY IMAGE */
.device-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  pointer-events: none;
}

::selection {
  background-color: #fff2fb;
  color: #edaecb;
}

::-moz-selection {
  background-color: #fff2fb;
  color: #edaecb;
}

::-webkit-scrollbar {
width: 6px;
height: 6px;
background: transparent;
}
::-webkit-scrollbar-thumb {
background: transparent;
}