* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-image: url(/media/backgrounds/pinkcheck.png);
  background-size: 40px;
  font-family: "Tahoma", "MS Sans Serif", Verdana, sans-serif;
  overflow: hidden;
  user-select: none;
  height: 100vh;
}

#desktop {
  position: relative;
  width: 100vw;
  height: calc(100vh - 34px);
  overflow: hidden;
}

.deco {
  position: absolute;
  color: #ffbcd9;
  text-shadow: 0 0 3px #fff;
  font-size: 18px;
  pointer-events: none;
}

.fi {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
}

.fi-back {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ffbcd9'/%3E%3Cpath d='M9.5 4.5L6 8l3.5 3.5' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.fi-fwd {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ffbcd9'/%3E%3Cpath d='M6.5 4.5L10 8l-3.5 3.5' stroke='%23fff' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.fi-stop {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ff8fbf'/%3E%3Crect x='5' y='5' width='6' height='6' fill='%23fff'/%3E%3C/svg%3E");
}

.fi-refresh {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ffbcd9'/%3E%3Cpath d='M5 6a4 4 0 116.9 3.2M11 4v3h-3' stroke='%23fff' stroke-width='1.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fi-home {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ffbcd9'/%3E%3Cpath d='M4.5 8.5L8 5l3.5 3.5M5.5 8v3.2h5V8' stroke='%23fff' stroke-width='1.3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fi-search {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ffbcd9'/%3E%3Ccircle cx='7' cy='7' r='2.6' stroke='%23fff' stroke-width='1.3' fill='none'/%3E%3Cline x1='9' y1='9' x2='11.2' y2='11.2' stroke='%23fff' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

.fi-fav {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ffbcd9'/%3E%3Cpath d='M8 11.5C5 9.5 4 8 4 6.3 4 5 5 4.2 6.1 4.2c.8 0 1.5.5 1.9 1.2.4-.7 1.1-1.2 1.9-1.2C11 4.2 12 5 12 6.3c0 1.7-1 3.2-4 5.2z' fill='%23fff'/%3E%3C/svg%3E");
}

.fi-hist {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ffbcd9'/%3E%3Ccircle cx='8' cy='8' r='3.6' stroke='%23fff' stroke-width='1.3' fill='none'/%3E%3Cpath d='M8 6v2.2l1.6 1' stroke='%23fff' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.fi-chan {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23ffbcd9'/%3E%3Ccircle cx='5.5' cy='6' r='1.1' fill='%23fff'/%3E%3Ccircle cx='10.5' cy='6' r='1.1' fill='%23fff'/%3E%3Ccircle cx='8' cy='10.4' r='1.1' fill='%23fff'/%3E%3C/svg%3E");
}

.fi-heart {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 13C4 10.4 2.5 8.4 2.5 6.1 2.5 4.3 3.9 3 5.6 3c1 0 1.9.6 2.4 1.5C8.5 3.6 9.4 3 10.4 3 12.1 3 13.5 4.3 13.5 6.1 13.5 8.4 12 10.4 8 13z' fill='%23ffbcd9'/%3E%3C/svg%3E");
}

.fi-star {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2.4l1.7 3.6 3.9.4-2.9 2.7.8 3.9L8 11.1l-3.5 1.9.8-3.9-2.9-2.7 3.9-.4z' fill='%23ffbcd9'/%3E%3C/svg%3E");
}

.fi-mail {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2.5' y='4' width='11' height='8' rx='1' fill='%23ffbcd9'/%3E%3Cpath d='M2.8 4.5L8 8.5l5.2-4' stroke='%23fff' stroke-width='1' fill='none'/%3E%3C/svg%3E");
}

.fi-note {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='4' y='2' width='8' height='12' rx='1' fill='%23ffbcd9'/%3E%3Cline x1='6' y1='5' x2='10' y2='5' stroke='%23fff' stroke-width='1'/%3E%3Cline x1='6' y1='7.5' x2='10' y2='7.5' stroke='%23fff' stroke-width='1'/%3E%3Cline x1='6' y1='10' x2='9' y2='10' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E");
}

.fi-stats {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='2' y='9' width='2.6' height='5' fill='%23ffbcd9'/%3E%3Crect x='6.7' y='5.5' width='2.6' height='8.5' fill='%23ff8fbf'/%3E%3Crect x='11.4' y='2.5' width='2.6' height='11.5' fill='%23ffbcd9'/%3E%3C/svg%3E");
}

.fi-music {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='4.5' cy='12' r='2' fill='%23ffbcd9'/%3E%3Ccircle cx='11' cy='10.5' r='2' fill='%23ffbcd9'/%3E%3Cpath d='M6.4 12V4.5L13 3v7.5' stroke='%23ff8fbf' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
}

.icon {
  position: absolute;
  width: 74px;
  text-align: center;
  color: #b06a92;
  text-shadow: 1px 1px 1px #fff;
  font-size: 11px;
  cursor: pointer;
  padding: 4px;
}

.icon .glyph {
  width: 34px;
  height: 34px;
  margin: 0 auto 4px;
  background: linear-gradient(135deg, #ffffff, #ffe3ee);
  border: 1px solid #ffd8e9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon .glyph .fi {
  width: 18px;
  height: 18px;
}

.icon:hover .label {
  outline: 1px dotted #b06a92;
}

.win {
  position: absolute;
  min-width: 260px;
  background: #ffffff;
  border: 2px solid #fff;
  border-right-color: #f3c4d8;
  border-bottom-color: #f3c4d8;
  box-shadow: 3px 3px 0 rgba(243, 196, 216, 0.5);
  display: flex;
  flex-direction: column;
}

.win.active {
  z-index: 50;
}

.titlebar {
  background: linear-gradient(90deg, #ffaed0, #ffd8e9);
  color: #fff;
  text-shadow: 1px 1px 1px #e39dbe;
  font-weight: bold;
  font-size: 12px;
  padding: 3px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: move;
}

.win.inactive .titlebar {
  background: linear-gradient(90deg, #f6d9e6, #fceef4);
}

.titlebar .ttext {
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.btns {
  display: flex;
  gap: 2px;
}

.btns button {
  width: 18px;
  height: 16px;
  background: #ffffff;
  border: 1px solid #fff;
  border-right-color: #f3c4d8;
  border-bottom-color: #f3c4d8;
  font-size: 10px;
  line-height: 1;
  font-weight: bold;
  cursor: default;
  padding: 0;
  color: #b06a92;
  border-radius: 2px;
}

.btns button:active {
  border-color: #f3c4d8 #fff #fff #f3c4d8;
}

.menubar {
  background: #ffffff;
  font-size: 11px;
  color: #b06a92;
  padding: 2px 6px;
  border-bottom: 1px solid #ffe3ee;
  display: flex;
  gap: 12px;
}

.toolbar {
  background: #ffffff;
  border-bottom: 1px solid #ffe3ee;
  padding: 4px 6px;
  display: flex;
  gap: 14px;
  font-size: 10px;
  color: #b06a92;
  text-align: center;
}

.toolbar .tbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  opacity: 0.9;
}

.toolbar .tbtn .fi {
  width: 20px;
  height: 20px;
}

.addressbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  background: #ffffff;
  border-bottom: 1px solid #ffe3ee;
  font-size: 11px;
  color: #b06a92;
}

.addressbar input {
  flex: 1;
  border: 1px solid #ffd8e9;
  background: #fff;
  padding: 2px 6px;
  font-size: 11px;
  color: #b06a92;
  outline: none;
  border-radius: 3px;
}

.linksbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 6px;
  background: #ffffff;
  border-bottom: 1px solid #ffe3ee;
  font-size: 10px;
  color: #b06a92;
}

.linksbar a {
  color: #b06a92;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 3px;
}

.linksbar a:hover {
  text-decoration: underline;
}

.win-body {
  background: #fff;
  border: 1px solid #ffe3ee;
  margin: 4px;
  margin-top: 2px;
  padding: 10px;
  font-size: 12px;
  color: #b06a92;
  overflow: auto;
  flex: 1;
}

.win-body.themed {
  background: #fffdfe;
  color: #c48aa8;
  font-style: italic;
  line-height: 1.6;
}

.win-statusbar {
  font-size: 10px;
  color: #b06a92;
  padding: 3px 6px;
  border-top: 1px solid #ffe3ee;
  display: flex;
  justify-content: space-between;
}

.resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  cursor: nwse-resize;
}

.win.minimized {
  display: none;
}

.browser-icons {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  padding: 10px 0 20px;
  justify-content: center;
}

.browser-icons .b-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #b06a92;
}

.browser-icons .b-icon .heart {
  width: 44px;
  height: 40px;
  background: linear-gradient(135deg, #ffffff, #ffe3ee);
  border: 1px solid #ffe3ee;
  border-radius: 6px 6px 6px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.browser-icons .b-icon .heart .fi {
  width: 20px;
  height: 20px;
}

.welcome-row {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-top: 10px;
}

.speech-bubble {
  position: relative;
  flex: 1;
  border: 1px solid #ffe3ee;
  background: #fffdfe;
  padding: 10px 14px;
  font-size: 11px;
  color: #c48aa8;
  border-radius: 10px;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: 14px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 10px solid #fffdfe;
}

.speech-bubble::before {
  content: "";
  position: absolute;
  right: -11px;
  bottom: 13px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 11px solid #ffe3ee;
}

.welcome-char {
  flex: none;
  width: 72px;
  height: auto;
  image-rendering: pixelated;
}

.win-body::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

.win-body::-webkit-scrollbar-track {
  background: #ffe3ee;
  border-left: 1px solid #ffd8e9;
}

.win-body::-webkit-scrollbar-thumb {
  background: #ffffff;
  border: 2px solid #ffd8e9;
  box-shadow: inset 1px 1px 0 #fff, inset -1px -1px 0 #f3c4d8;
}

.win-body::-webkit-scrollbar-button {
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 3.5h6L5 7z' fill='%23ff8fbf'/%3E%3C/svg%3E") center/8px no-repeat;
  border: 1px solid #ffd8e9;
  height: 16px;
  width: 16px;
}

.win-body {
  scrollbar-width: thin;
  scrollbar-color: #ffffff #ffe3ee;
}

.stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  font-size: 11px;
}

.stat-label {
  width: 64px;
  flex: none;
  color: #b06a92;
  font-weight: bold;
}

.stat-bar-bg {
  flex: 1;
  height: 14px;
  background: #ffe3ee;
  border: 1px solid #ffd8e9;
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff8fbf, #ffbcd9);
}

.stat-val {
  width: 44px;
  flex: none;
  text-align: right;
  color: #b06a92;
  font-size: 10px;
}

.mp-cover {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ffbcd9, #ffe3ee);
  border: 1px solid #ffd8e9;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.mp-cover .fi {
  width: 30px;
  height: 30px;
}

.mp-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.mp-title {
  font-weight: bold;
  color: #b06a92;
  font-size: 12px;
}

.mp-sub {
  color: #c48aa8;
  font-size: 10px;
}

.mp-controls {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.mp-controls button {
  width: 32px;
  height: 26px;
  background: linear-gradient(180deg, #ffffff, #ffeef5);
  border: 2px solid #fff;
  border-right-color: #f3c4d8;
  border-bottom-color: #f3c4d8;
  border-radius: 4px;
  cursor: default;
  font-size: 11px;
  color: #ff6fa8;
  font-weight: bold;
}

.mp-controls button:active {
  border-color: #f3c4d8 #fff #fff #f3c4d8;
  background: #ffe3ee;
}

#mpTimeline {
  width: 100%;
  height: 10px;
  background: #ffe3ee;
  border: 1px solid #ffd8e9;
  border-radius: 2px;
  margin-top: 10px;
  position: relative;
  cursor: pointer;
}

#mpPlayhead {
  position: absolute;
  top: -2px;
  left: 0;
  width: 12px;
  height: 14px;
  background: #ff8fbf;
  border: 1px solid #fff;
  border-radius: 2px;
  margin-left: -6px;
}

.mp-times {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #c48aa8;
  margin-top: 3px;
}

.mp-vol {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 10px;
  color: #b06a92;
}

.mp-vol input[type=range] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: #ffe3ee;
  border: 1px solid #ffd8e9;
  border-radius: 3px;
  outline: none;
}

.mp-vol input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ff8fbf;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ffbcd9;
  cursor: pointer;
}

.mp-vol input[type=range]::-moz-range-track {
  height: 8px;
  background: #ffe3ee;
  border: 1px solid #ffd8e9;
  border-radius: 3px;
}

.mp-vol input[type=range]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff8fbf;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ffbcd9;
  cursor: pointer;
}

#taskbar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 34px;
  background: #ffe3ee;
  border-top: 2px solid #fff;
  display: flex;
  align-items: center;
  padding: 2px 3px;
  gap: 4px;
  z-index: 1000;
}

#startBtn {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 8px;
  background: #ffffff;
  border: 2px solid #fff;
  border-right-color: #f3c4d8;
  border-bottom-color: #f3c4d8;
  font-weight: bold;
  font-size: 12px;
  color: #b06a92;
  cursor: default;
  border-radius: 3px;
}

#startBtn:active {
  border-color: #f3c4d8 #fff #fff #f3c4d8;
}

#taskbarItems {
  flex: 1;
  display: flex;
  gap: 3px;
  height: 26px;
  overflow: hidden;
}

.taskbtn {
  height: 26px;
  max-width: 160px;
  padding: 0 8px;
  background: #ffffff;
  border: 2px solid #fff;
  border-right-color: #f3c4d8;
  border-bottom-color: #f3c4d8;
  font-size: 11px;
  color: #b06a92;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: default;
  border-radius: 3px;
}

.taskbtn.active-task {
  border-color: #f3c4d8 #fff #fff #f3c4d8;
  background: #fff0f6;
}

#clock {
  border: 1px solid #f3c4d8;
  border-right-color: #fff;
  border-bottom-color: #fff;
  height: 26px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  font-size: 11px;
  color: #b06a92;
  background: #ffffff;
  border-radius: 3px;
}

::selection {
  background: #ffbcd9;
  color: #fff;
}