:root{
      --desk-teal:#008080;
      --win-gray:#c0c0c0;
      --win-dark:#808080;
      --win-darker:#404040;
      --win-light:#ffffff;
      --win-blue:#000080;
      --ui-button-bg: var(--win-gray);
      --ui-titlebutton-bg: var(--win-gray);
      --ui-start-bg: var(--win-gray);
      --ui-task-bg: #e6e6e6;
      --taskbar:#c0c0c0;
      --taskbar-h:40px;
      --titlebar-gradient: linear-gradient(90deg, #008080, #000080, #ffffff);
        --dialog-blue: #6a1535;
        --dialog-accent: white;
        --titlebar-color: white;
        --player-image: url(https://in1996.neocities.org/images/4d53aef5.jpg);
        
        --desk-wallpaper: url("https://in1996.neocities.org/images/pattern.gif");
        --desk-repeat: repeat;
        --desk-size: 65px auto;
        --ui-font: "Nosutarudot", Tahoma, Verdana, Arial, sans-serif;

        --surface: #c0c0c0;
        --button-highlight: #ffffff;
        --button-face: #dfdfdf;
        --button-shadow: #808080;
        --light-button-shadow: #a9a9a9;
        --window-frame: #0a0a0a;
        --border-field: inset -1px -1px var(--button-highlight),
            inset 1px 1px var(--button-shadow), inset -2px -2px var(--button-face),
            inset 2px 2px var(--window-frame);
    }
    

    @font-face {
  font-family: "Pixelated MS Sans Serif";
  src: url("https://files.catbox.moe/qgjjre.woff") format("woff");
  src: url("https://files.catbox.moe/8fwbkl.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Pixelated MS Sans Serif";
    src: url("https://files.catbox.moe/z7csle.woff") format("woff");
    src: url("https://files.catbox.moe/moqhx6.woff2") format("woff2");
    font-weight: bold;
    font-style: normal;
    }
    
               @font-face {                  
font-family: 'Nosutarudot';
src: url(https://in1996.neocities.org/fonts/Nosutarudot.woff) format('woff');
font-weight: normal;
font-style: normal;
} 

@font-face {
    font-family: "AsobiMemogaki";
    src: url("https://in1996.neocities.org/fonts/AsobiMemogaki.woff") format("woff");
    src: url("https://in1996.neocities.org/fonts/AsobiMemogaki.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    }
    
    *{box-sizing:border-box;}

    body{
      margin:0;
      font-family: var(--ui-font);
      font-size:12px;
      background:var(--desk-teal);
      overflow:hidden;
    }

    .desktop{
      position:relative;
      width:100vw;
      height:100vh;
      padding:14px;
      padding-bottom:calc(var(--taskbar-h) + 14px);

      background-color: var(--desk-teal);
      background-image: var(--desk-wallpaper);
      background-repeat: var(--desk-repeat);
      background-size: var(--desk-size);
    }

    /* icons */
    .icons{
      display:grid;
      grid-template-columns:repeat(auto-fill, 84px);
      grid-auto-rows:96px;
      gap:10px 6px;
      align-content:start;
      justify-content:start;
      width:fit-content;
      user-select:none;
    }
    .icon{
      width:84px;
      text-align:center;
      padding:6px 4px;
      border-radius:6px;
      cursor:default;
    }
    .icon:active{
      outline:1px dotted #000;
      outline-offset:-3px;
      background:rgba(255,255,255,0.15);
    }
    .icon img{
      width:42px;height:42px;
      image-rendering:pixelated;
      display:block;
      margin:0 auto 6px;
    }
    .icon span{
      display:inline-block;
      font-size:12px;
      line-height:1.1;
      color:#fff;
      text-shadow:1px 1px 0 rgba(0,0,0,0.6);
      padding:2px 4px;
      border-radius:4px;
      max-width:78px;
      overflow:hidden;
      text-overflow:ellipsis;
      white-space:nowrap;
    }

    /* windows */
    .window{
      position:absolute;
      width:520px;
      min-width:260px;
      background:var(--win-gray);
      border-top:2px solid var(--win-light);
      border-left:2px solid var(--win-light);
      border-right:2px solid var(--win-dark);
      border-bottom:2px solid var(--win-dark);
      box-shadow:2px 2px 0 var(--win-darker);
      display:none;
    }
    .window.open{display:block;}

    .titlebar{
      background:var(--win-blue);
      color:#fff;
      padding:6px 8px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      font-weight:700;
      user-select:none;
      cursor:move;
    }
    .title-left{
      display:flex;
      gap:8px;
      align-items:center;
      min-width:0;
    }
    .app-icon{
      width:14px;height:14px;
      background:linear-gradient(135deg,#fff,#d9d9d9);
      border:1px solid rgba(255,255,255,0.7);
      box-shadow:1px 1px 0 rgba(0,0,0,0.25);
      flex:0 0 auto;
    }
    .title-text{
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
    }
    .title-buttons{display:flex; gap:4px;}
    .tb{
      width:18px;height:18px;
      background:var(--ui-titlebutton-bg);
      display:grid;
      place-items:center;
      font-size:12px;
      border-top:2px solid var(--win-light);
      border-left:2px solid var(--win-light);
      border-right:2px solid var(--win-dark);
      border-bottom:2px solid var(--win-dark);
      cursor:default;
      color:#000;
    }

/* win95-style popup */
.popup{
  background: var(--win-gray);
  padding: 0;
  margin-bottom: 10px;

  border-top:2px solid var(--win-light);
  border-left:2px solid var(--win-light);
  border-right:2px solid var(--win-dark);
  border-bottom:2px solid var(--win-dark);
  box-shadow:2px 2px 0 var(--win-darker);
}
.popup.hidden{ display:none; }

.popup-title{
  background: var(--win-blue);
  color:#fff;
  font-weight:700;
  padding:6px 8px;
  user-select:none;
}

.popup-body{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:10px;
  background:#f2f2f2;
}

.popup-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  font-weight:900;
  background:#fff;
  border-top:2px solid var(--win-dark);
  border-left:2px solid var(--win-dark);
  border-right:2px solid var(--win-light);
  border-bottom:2px solid var(--win-light);
}

.popup-icon img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.popup-text{
  font-size:10px;
  line-height:1.35;
}

.popup-actions{
  padding:0 10px 10px;
  display:flex;
  justify-content:flex-end;
  background:#f2f2f2;
}


/* system toast style */
.popup.toast{
  position: fixed;
  right: 14px;
  bottom: calc(var(--taskbar-h) + 14px);
  width: 260px;
  margin: 0;
  z-index: 9999;
}

.popup.toast.hidden{ display:none; }

.popup.toast .popup-title{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.popup.toast .popup-actions{
  display:none; /* no ok button for toast */
}

/* tiny slide/fade animation */
.popup.toast{
  animation: toastIn 140ms ease-out;
}
@keyframes toastIn{
  from{ transform: translateY(6px); opacity:0; }
  to{ transform: translateY(0); opacity:1; }
}


    .menubar{
      padding:6px 8px;
      border-top:1px solid var(--win-light);
      border-bottom:1px solid var(--win-dark);
      display:flex;
      gap:14px;
      font-size:12px;
      user-select:none;
    }

    .content{padding:10px; background:#f2f2f2;}
    .inset{
      background:#fff;
      padding:10px;
      border-top:2px solid var(--win-dark);
      border-left:2px solid var(--win-dark);
      border-right:2px solid var(--win-light);
      border-bottom:2px solid var(--win-light);
    }

    .btnrow{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px;}
    .btn{
      text-decoration:none;
      color:#000;
      background:var(--ui-button-bg);
      padding:4px 10px;
      font-size:12px;
      border-top:2px solid var(--win-light);
      border-left:2px solid var(--win-light);
      border-right:2px solid var(--win-dark);
      border-bottom:2px solid var(--win-dark);
      display:inline-block;
      user-select:none;
    }
    .btn:active{
      border-top:2px solid var(--win-dark);
      border-left:2px solid var(--win-dark);
      border-right:2px solid var(--win-light);
      border-bottom:2px solid var(--win-light);
      padding:5px 9px 3px 11px;
    }
    
    .startMenu{
  position: fixed;
  left: 8px;
  bottom: calc(var(--taskbar-h) + 8px);
  width: 240px;
  background: var(--win-gray);
  border-top:2px solid var(--win-light);
  border-left:2px solid var(--win-light);
  border-right:2px solid var(--win-dark);
  border-bottom:2px solid var(--win-dark);
  box-shadow:2px 2px 0 var(--win-darker);
  z-index: 99999;
}

.startMenu.hidden{ display:none; }

.startMenuHead{
  padding: 8px;
  background: var(--win-blue);
  color: #fff;
}

.startMenuSep{
  height: 1px;
  background: var(--win-dark);
  border-bottom: 1px solid var(--win-light);
}

.startMenuItem{
  padding: 7px 10px;
  cursor: default;
  user-select:none;
  font-size: 12px;
}
.startMenuItem:hover{
  background: rgba(0,0,0,.12);
}

.startMenuUsers{
  padding: 6px;
  background: #f2f2f2;
}
.startMenuUsers.hidden{ display:none; }

.userBtn{
  display:flex;
  align-items:center;
  gap:8px;
  padding: 6px 8px;
  background: var(--win-gray);
  border-top:2px solid var(--win-light);
  border-left:2px solid var(--win-light);
  border-right:2px solid var(--win-dark);
  border-bottom:2px solid var(--win-dark);
  margin: 6px 0;
  cursor: default;
  font-size: 12px;
}
.userBtn:active{
  border-top:2px solid var(--win-dark);
  border-left:2px solid var(--win-dark);
  border-right:2px solid var(--win-light);
  border-bottom:2px solid var(--win-light);
}
.userPfp{
  width: 20px;
  height: 20px;
  image-rendering: pixelated;
}
.userMeta{
  font-size: 10px;
  opacity: .85;
}

    /* taskbar */
    .taskbar{
      position:fixed;
      left:0; right:0; bottom:0;
      height:var(--taskbar-h);
      background:var(--taskbar);
      border-top:2px solid var(--win-light);
      display:flex;
      align-items:center;
      gap:8px;
      padding:6px 8px;
      user-select:none;
    }
    .start{
      display:flex;
      align-items:center;
      gap:6px;
      font-weight:700;
      background:var(--ui-start-bg);
      padding:4px 10px;
      border-top:2px solid var(--win-light);
      border-left:2px solid var(--win-light);
      border-right:2px solid var(--win-dark);
      border-bottom:2px solid var(--win-dark);
    }
    .tasks{
      display:flex;
      gap:6px;
      overflow:auto;
      flex:1 1 auto;
    }
    .task{
      min-width:160px;
      max-width:260px;
      white-space:nowrap;
      overflow:hidden;
      text-overflow:ellipsis;
      background: var(--ui-task-bg);
      padding:4px 8px;
      border-top:2px solid var(--win-light);
      border-left:2px solid var(--win-light);
      border-right:2px solid var(--win-dark);
      border-bottom:2px solid var(--win-dark);
      cursor:default;
    }
    .clock{
      padding:4px 8px;
      background:#e6e6e6;
      border-top:2px solid var(--win-dark);
      border-left:2px solid var(--win-dark);
      border-right:2px solid var(--win-light);
      border-bottom:2px solid var(--win-light);
      font-size:12px;
    }
    
    .cursor{
  display:inline-block;
  width:6px;
  height:14px;
  background:#000;
  margin-left:2px;
  vertical-align:baseline;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink{
  50%{ opacity:0; }
}

.px-emo{
  width: auto;
  image-rendering: crisp-edges;
  vertical-align: -1px;
  margin-right: 4px;
}

.note-hand{
  font-family: "AsobiMemogaki", "Segoe Print", "Bradley Hand", var(--ui-font);
  font-size: 13px;
  line-height: 1.55;
  letter-spacing: .2px;
}

.note-soft{
  background: #fff7fb;
  border: 1px dashed rgba(0,0,0,.25);
  padding: 10px;
}

/* deviantart journal window */
.da-wrap{
  padding:10px;
}

.da-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.da-brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.da-logo{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  font-weight:900;
  background:#d9f2d9;
  border-top:2px solid var(--win-light);
  border-left:2px solid var(--win-light);
  border-right:2px solid var(--win-dark);
  border-bottom:2px solid var(--win-dark);
}

.da-sub{
  font-size:10px;
  opacity:.75;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:260px;
}

/* scroll area */
.da-scroll{
  height: 320px;
  overflow: auto;
  padding-right: 6px;
  display:flex;
  flex-direction:column;
  gap:10px;

  background:#fff;
  border-top:2px solid var(--win-dark);
  border-left:2px solid var(--win-dark);
  border-right:2px solid var(--win-light);
  border-bottom:2px solid var(--win-light);
  padding:10px;
}

/* one post */
.da-post{
  background:#f7f7f7;
  border-top:2px solid var(--win-light);
  border-left:2px solid var(--win-light);
  border-right:2px solid var(--win-dark);
  border-bottom:2px solid var(--win-dark);
  padding:8px;
}

.da-post-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.da-poster{
  display:flex;
  gap:8px;
  align-items:center;
  min-width:0;
}

.da-avatar{
  width:28px;
  height:28px;
  object-fit:cover;
  border-top:2px solid var(--win-light);
  border-left:2px solid var(--win-light);
  border-right:2px solid var(--win-dark);
  border-bottom:2px solid var(--win-dark);
  background:#fff;
}

.da-meta{
  min-width:0;
}

.da-name{
  font-size:12px;
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:240px;
}

.da-mini{
  font-size:10px;
  opacity:.75;
  margin-top:2px;
}

.da-stamp{
  width:22px;
  height:22px;
  flex:0 0 auto;
  image-rendering: pixelated;
}

.da-body{
  margin-top:8px;
  font-size:12px;
  line-height:1.35;
  background:#fff;
  padding:8px;

  border-top:2px solid var(--win-dark);
  border-left:2px solid var(--win-dark);
  border-right:2px solid var(--win-light);
  border-bottom:2px solid var(--win-light);

  white-space:pre-wrap; 
}
    
    .cat-photos{
  display:flex;
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap;
  margin:10px 0 12px;
}

.cat-card{
  margin:0;
  width: 180px;
}

.cat-card img{
  width:100%;
  height:200px;
  object-fit:cover;
  image-rendering:auto;

  border-top:2px solid var(--win-light);
  border-left:2px solid var(--win-light);
  border-right:2px solid var(--win-dark);
  border-bottom:2px solid var(--win-dark);
  background:#fff;
}

.cat-card figcaption{
  font-size:12px;
  margin-top:6px;
  padding:4px 6px;
  background:#fff;

  border-top:2px solid var(--win-dark);
  border-left:2px solid var(--win-dark);
  border-right:2px solid var(--win-light);
  border-bottom:2px solid var(--win-light);
}

 #musicplayer {
  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  font-size: 11px;
  color:var(--window-frame);
  width: fit-content;
  border:var(--window-frame) solid 1px;
  margin:0 auto;
    box-shadow: inset -1px -1px var(--window-frame), inset 1px 1px var(--button-face), inset -2px -2px var(--button-shadow), inset 2px 2px var(--button-highlight);
  background: var(--surface);
  padding: 3px;
  width: 260px;
    }
    
        .title-color {  
  padding: 3px 2px 3px 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
    background: var(--titlebar-gradient);
    margin-bottom: 2px;
    font-weight: bold;
}

.actual-title {
    color:var(--titlebar-color);
  display: flex;
  gap: 5px;
}

.seeking {
    font-weight: normal;
    font-size: 11px;
  display: flex;
  justify-content: center;
  align-items: center;
    gap: 5px;
    margin: 12px 0;
}

.player-flex {
    display: flex;
    gap: 3px;
}

.player-main {
    width: calc(100% - 100px);
    margin-top: 1px;
}

.player-icon-holder {
  border: 2px solid var(--surface);
  width:95px;
  height:95px;
  padding: 1px;
  background-image:linear-gradient(-45deg, var(--button-face) 50%, var(--window-frame) 50%);
  background-size:cover;
  background-repeat:no-repeat;
  border-width:1px;
  border-style:solid;
  border-color: var(--button-shadow) var(--button-highlight) var(--button-highlight) var(--button-shadow);
  
  overflow: hidden;
  position:relative;
  z-index: 2;
}

.player-icon {
    background-image:var(--player-image);
    background-size: contain;
    background-repeat: no-repeat;
  width:95px;
  height:95px;
  display: display;
}

/* BELOW IS LARGELY RIPPED FROM 98 CSS */
.track-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  border-radius:0;
  box-sizing: border-box;
  outline:0;
  
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;

  position: relative;
  padding: 3px 4px;
  padding-right: 32px;
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/button-down.svg");
  background-position: top 2px right 2px;
  background-repeat: no-repeat;
  width:100%;

  box-shadow: var(--border-field);
  background-color: var(--button-highlight);
  height: 21px;

  font-family: "Pixelated MS Sans Serif", Arial;
  -webkit-font-smoothing: none;
  font-size: 11px;
  font-weight: lighter;
}

.track-select:focus {
  color: var(--dialog-accent);
  background-color: var(--dialog-blue);

}
.track-select:focus option {
  color: var(--window-frame);
  background-color: var(--button-highlight);  
  outline: 1px;
  border: none;
}

.track-select:active {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/button-down-active.svg");
}

/* input */
#musicplayer input[type="range"] {  
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}

#musicplayer input[type="range"]:focus {
  outline: none;
}

#musicplayer input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  height: 21px;
  width: 11px;
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-horizontal.svg");
  transform: translateY(-8px);
  box-shadow: none;
  border: none;
}

#musicplayer input[type="range"].has-box-indicator::-webkit-slider-thumb {
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-rectangle-horizontal.svg");
  transform: translateY(-10px);
}

#musicplayer input[type="range"]::-moz-range-thumb {
  height: 21px;
  width: 11px;
  border: 0;
  border-radius: 0;
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-horizontal.svg");
  transform: translateY(2px);
}

#musicplayer input[type="range"].has-box-indicator::-moz-range-thumb {
  background: url("https://loveberry.nekoweb.org/assets/musicplayer/indicator-rectangle-horizontal.svg");
  transform: translateY(0px);
}

#musicplayer input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 2px;
  box-sizing: border-box;
  background: var(--window-frame);
  border-right: 1px solid var(--button-shadow);
  border-bottom: 1px solid var(--button-shadow);
  box-shadow: 1px 0 0 var(--button-highlight), 1px 1px 0 var(--button-highlight), 0 1px 0 var(--button-highlight), -1px 0 0 var(--light-button-shadow),
    -1px -1px 0 var(--light-button-shadow), 0 -1px 0 var(--light-button-shadow), -1px 1px 0 var(--button-highlight), 1px -1px var(--light-button-shadow);
}

#musicplayer input[type="range"]::-moz-range-track {
    width: 100%;
    height: 2px;
    box-sizing: border-box;
    background: var(--window-frame);
    border-right: 1px solid var(--button-shadow);
    border-bottom: 1px solid var(--button-shadow);
    box-shadow: 1px 0 0 var(--button-highlight), 1px 1px 0 var(--button-highlight), 0 1px 0 var(--button-highlight), -1px 0 0 var(--light-button-shadow),
    -1px -1px 0 var(--light-button-shadow), 0 -1px 0 var(--light-button-shadow), -1px 1px 0 var(--button-highlight), 1px -1px var(--light-button-shadow);
}

.window-button {
    background: var(--surface);
    border: none;
    border-radius: 0;
    box-shadow: inset -1px -1px var(--window-frame),inset 1px 1px var(--button-highlight),inset -2px -2px var(--button-shadow),inset 2px 2px var(--button-face);
    box-sizing: border-box;
    color: inherit;
    text-shadow: 0 0 var(--window-frame);
}

.window-button:active {
  box-shadow: inset -1px -1px var(--button-highlight), inset 1px 1px var(--window-frame), inset -2px -2px var(--button-face), inset 2px 2px var(--button-shadow);
  text-shadow: 1px 1px var(--window-frame);
}

.window-button:focus  {
  outline: 1px dotted #000;
  outline-offset: -4px;
}
.player-buttons {
    display: flex;
    gap: 10px;
    margin: 5px 5px 0 5px;
}
.player-buttons .window-button  {
    width: 33%;
    font-size: 10px;
    padding: 5px 10px;
}
.player-buttons .window-button svg {
   width: 15px;
   height: 15px;
}

.title-bar-controls {
    display: flex;
}
.close {
    margin-left: 2px;
    background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/close.svg");
    background-repeat: no-repeat;
    background-position: top 3px left 4px;

    padding: 0;
    display: block;
    min-width: 16px;
    min-height: 14px;
}

.minimize {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/minimize.svg");
  background-repeat: no-repeat;
  background-position: bottom 3px left 4px;
    padding: 0;
    display: block;
    min-width: 16px;
    min-height: 14px;
}

.maximize {
  background-image: url("https://loveberry.nekoweb.org/assets/musicplayer/maximize.svg");
  background-repeat: no-repeat;
  background-position: top 2px left 3px;
    padding: 0;
    display: block;
    min-width: 16px;
    min-height: 14px;
}

.inbox-wrap {
  background: white;
  padding: 12px;
}

.inbox-header {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.inbox-count {
  font-size: 11px;
  opacity: .6;
}

.inbox-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.inbox-tab {
  padding: 4px 8px;
  background: #ffd6ec;
  border-radius: 8px;
  font-size: 11px;
  cursor: default;
}

.inbox-tab.active {
  background: #ff9ed1;
  font-weight: bold;
}

.inbox-body {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inbox-empty {
  text-align: center;
  font-size: 12px;
  opacity: .7;
}

.inbox-emoji {
  font-size: 26px;
  margin-bottom: 6px;
}

.msn-wrap{
  display:flex;
  grid-template-columns: 210px 1fr;
  height: 420px;
}

.msn-buddy{
  background: #f7f7f7;
  border-right: 1px solid var(--win-dark);
  display:flex;
  flex-direction:column;
}

.msn-me{
  display:flex;
  gap:8px;
  padding:10px;
  background: linear-gradient(#d7ecff, #f7fbff);
  border-bottom: 1px solid var(--win-dark);
}

.msn-pfp{
  width:40px;
  height:40px;
  border:1px solid #6aa1d8;
  background: url("https://in1996.neocities.org/images/kirby.png") center/cover no-repeat;
  border-radius: 6px;
}

.msn-name{ font-size:12px; }
.msn-status{ font-size:10px; opacity:.8; }
.msn-msg{ font-size:10px; opacity:.8; margin-top:2px; }

.msn-search{
  padding:8px;
  border-bottom: 1px solid var(--win-dark);
  background:#fff;
}

.msn-input{
  width:100%;
  font-family: var(--ui-font);
  font-size:12px;
  padding:4px 6px;
  border-top:2px solid var(--win-dark);
  border-left:2px solid var(--win-dark);
  border-right:2px solid var(--win-light);
  border-bottom:2px solid var(--win-light);
}

.msn-list{
  padding:6px;
  overflow:auto;
  flex:1 1 auto;
  background:#fff;
}

.msn-contact{
  padding:6px 6px;
  border-radius:6px;
  cursor:default;
  user-select:none;
}
.msn-contact:hover{ background: rgba(0,0,0,.06); }
.msn-contact.offline{ opacity:.55; }
.msn-contact b{ font-weight:700; }

.msn-bottom{
  padding:8px;
  display:flex;
  gap:8px;
  border-top: 1px solid var(--win-dark);
  background:#f2f2f2;
}

.msn-chat{
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
  background:#fff;
}

.msn-chathead{
  padding:8px 10px;
  background: linear-gradient(#cfe7ff, #ffffff);
  border-bottom: 1px solid var(--win-dark);
  font-size:12px;
}

.msn-log{
  flex:1;
  padding:10px;
  overflow-y:auto;
  font-size:12px;
  background:#fff;
}

.msn-line{ margin-bottom:6px; }
.msn-you b{ color:#1f4aa8; }
.msn-them b{ color:#2f7d2f; }

.msn-compose{
  padding:8px;
  display:flex;
  gap:8px;
  border-top: 1px solid var(--win-dark);
  background:#f2f2f2;
}

.msn-mini{
  padding:6px 10px;
  font-size:11px;
  background:#fafafa;
  border-top: 1px solid #ddd;
}

@keyframes msnShake{
  0%{ transform: translate(0,0); }
  20%{ transform: translate(3px,0); }
  40%{ transform: translate(-3px,0); }
  60%{ transform: translate(3px,0); }
  80%{ transform: translate(-3px,0); }
  100%{ transform: translate(0,0); }
}
.window.msn-shake{ animation: msnShake 220ms ease-in-out; }

.tpost{
  border:1px solid rgba(0,0,0,.18);
  background:#fafafa;
  margin-bottom:10px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.tpost-head{
  display:flex;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  background:rgba(0,0,0,.05);
  border-bottom:1px solid rgba(0,0,0,.15);
}

.tpfp{
  width:26px;
  height:26px;
  border-radius:6px;
  image-rendering: pixelated;
  border:1px solid rgba(0,0,0,.25);
  background:#fff;
  object-fit:cover;
}

.tname{
  font-size:12px;
  font-weight:700;
}
.tdate{
  font-size:10px;
  opacity:.7;
  margin-left:auto;
}

.tpost-body{
  padding:10px;
  font-size:12px;
  line-height:1.4;
  background:#fff;
}

.tpost-body img{
  max-width:100%;
  height:auto;
  display:block;
  margin:8px 0;
  border:1px solid rgba(0,0,0,.2);
}

.timg-wrap{
  display:flex;
  gap:8px;
  margin:8px 0;
}

.timg-wrap img{
  flex:1;
  width:100%;
  max-height:200px;
  object-fit:cover;
  display:block;
  border:1px solid rgba(0,0,0,.2);
  margin:0;
  
}

.timg-wrap.single img{
  max-height:420px;
  object-fit: contain;
  background:#000;
}

@media (max-width:460px){
  .timg-wrap{ flex-direction:column; }
}

.treblog{
  border-left:3px solid rgba(0,0,0,.18);
  padding-left:10px;
  margin-top:8px;
}

.ttags{
  padding:8px 10px;
  background:#fff;
  border-top:1px solid rgba(0,0,0,.12);
  font-size:10px;
  opacity:.8;
}

.tfooter{
  padding:8px 10px;
  display:flex;
  gap:10px;
  align-items:center;
  background:rgba(0,0,0,.04);
  border-top:1px solid rgba(0,0,0,.12);
  font-size:10px;
  opacity:.85;
}

.tfooter .tbtn{
  cursor:default;
  user-select:none;
  padding:2px 6px;
  border:1px solid rgba(0,0,0,.18);
  background:rgba(255,255,255,.7);
}
.tfooter .tbtn:hover{
  filter: brightness(1.03);
}

/* twitter (2014-2016-ish) */
.tw-wrap{
  display:flex;
  flex-direction:column;
  height:420px;
  background:#fff;
}

.tw-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  padding:10px;
  border-bottom:1px solid var(--win-dark);
  background:rgba(0,0,0,.04);
}

.tw-sub{
  font-size:10px;
  opacity:.75;
  margin-top:2px;
}

.tw-feed{
  flex:1;
  overflow:auto;
  padding:10px;
  background:#fff;
}

.tw-tweet{
  border:1px solid rgba(0,0,0,.18);
  background:#fafafa;
  margin-bottom:10px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.tw-head{
  display:flex;
  gap:8px;
  align-items:center;
  padding:8px 10px;
  background:rgba(0,0,0,.05);
  border-bottom:1px solid rgba(0,0,0,.15);
}

.tw-pfp{
  width:28px;
  height:28px;
  border-radius:6px;      /* rounded square */
  object-fit:cover;
  border:1px solid rgba(0,0,0,.25);
  background:#fff;
}

.tw-name{
  font-size:12px;
  font-weight:700;
}

.tw-handle{
  font-size:10px;
  opacity:.75;
  margin-left:6px;
}

.tw-time{
  font-size:10px;
  opacity:.7;
  margin-left:auto;
}

.tw-body{
  padding:10px;
  font-size:12px;
  line-height:1.4;
  background:#fff;
  white-space:pre-wrap;
}

.tw-actions{
  display:flex;
  gap:10px;
  align-items:center;
  padding:8px 10px;
  background:rgba(0,0,0,.03);
  border-top:1px solid rgba(0,0,0,.12);
  font-size:10px;
  opacity:.9;
}

.tw-act{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:2px 6px;
  border:1px solid rgba(0,0,0,.18);
  background:rgba(255,255,255,.7);
  user-select:none;
  cursor:default;
}

.tw-act:hover{ filter:brightness(1.03); }

.tw-star{
  font-size:12px;
  line-height:1;
}

.tw-act.faved{
  background: rgba(255, 245, 180, .85);
  border-color: rgba(0,0,0,.25);
}

.tw-bottom{
  padding:8px 10px;
  border-top:1px solid var(--win-dark);
  background:rgba(0,0,0,.03);
  font-size:10px;
  opacity:.8;
}

.sticker-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-content:flex-start;
}

.sticker{
  width: 80px;
  height: 80px;
  overflow:hidden;
  cursor: pointer;
  position: relative;
}

.sticker img{
  width:100%;
  height:100%;
  object-fit: contain;
  display:block;
}

.sticker::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.45), rgba(255,255,255,0) 55%);
  pointer-events:none;
}

.sticker:hover{
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.sticker:active{
  transform: translateY(1px);
}


#rain-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none; 
  z-index: 999999;
  opacity: 0.18;
  background-image: url("https://in1996.neocities.org/images/rain2.gif");
  background-repeat: repeat;
  background-size: 420px auto;
  mix-blend-mode: screen;
}

#sparkle-overlay{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999998;
  opacity: 0.22;
  background-image: url("https://in1996.neocities.org/images/glitter-overlay.gif");
  background-repeat: repeat;
  background-size: 600px auto;
  mix-blend-mode: screen;
}

.hidden{ display:none; }