@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

@font-face {
  src: url(/fonts/Spirit.woff2);
  font-family: 'spirits';
  font-display: swap;
}

:root {
  --pink-deep: #f0b5cd;
  --pink-mid: #ffd8e9;
  --pink-light: #fff5fa;
  --pink-pale: #fffaf0;
  --brown: #8d7c76;
  --brown-dark: #6a5c56;
  --line: #ffdaed;
  --shadow: 0 10px 20px rgba(141, 124, 118, .18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: url('https://kkul.store/media/backgrounds/pinkcheck.png') 0 0 / 40px;
  color: #5b5b5b;
  font-family: 'Nunito', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  padding-top: 25px;
  cursor: url('https://kkul.store/media/cursor/normal-select.gif'), progress;
}

body,
a,
button {
  cursor: url('https://kkul.store/media/cursor/normal-select.gif'), progress !important;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: #fff7fa;
  -webkit-border-radius: 0ex;
  border: 1px dotted #edaecb;
}

::selection {
  background-color: #ffedf5;
  color: #8d7c76;
}

::-moz-selection {
  background-color: #ffedf5;
  color: #8d7c76;
}

#s-m-t-tooltip {
  max-width: 150px;
  background-color: white;
  border: 7px solid;
  border-image: url(/media/borders/pink.png) 5 fill round;
  border-image-outset: 2px;
  outline: 1px dashed #e1b3c7;
  outline-offset: -6px;
  border-radius: 4px;
  font-family: tahoma;
  font-size: 7px;
  letter-spacing: 2px;
  color: #848484;
  position: fixed;
  z-index: 999999999 !important;
  pointer-events: none;
  padding: 4px;
  text-align: center;
  margin: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

#context_menu {
  background: #FEF8FC;
  border: 1px dotted #AAAAAA;
  letter-spacing: 1px;
  width: 70px;
  font-family: Verdana;
  font-size: 8px;
  position: absolute;
  display: none;
  z-index: 999999999;
}

#context_menu ul li {
  padding: 4px;
  z-index: 100000;
}

#context_menu ul li:hover {
  background: #FEF8FC;
  color: #848484;
  z-index: 100000;
}

a {
  color: var(--brown-dark);
  text-decoration: none;
}

a:hover {
  color: #ff94bf;
  text-decoration: none;
  font-style: italic;
}

button {
  font: inherit;
}

.wing-left,
.wing-right {
  position: absolute;
  top: 50px;
  width: 130px;
  z-index: 999;
  pointer-events: none;
}

.wing-left {
  left: -115px;
  transform-origin: bottom right;
  animation: flap-left 1.2s ease-in-out infinite alternate;
}

.wing-right {
  right: -115px;
  transform-origin: bottom left;
  animation: flap-right 1.2s ease-in-out infinite alternate;
}

@keyframes flap-left {
  0% {
    transform: rotate(-8deg);
  }

  100% {
    transform: rotate(12deg);
  }
}

@keyframes flap-right {
  0% {
    transform: rotate(8deg);
  }

  100% {
    transform: rotate(-12deg);
  }
}

.wing-left img,
.wing-right img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(rgba(0, 0, 0, 0.3) 1px 2px 2px);
}

.wing-right img {
  transform: scaleX(-1);
}

.title-wrap {
  width: 100%;
  background: white;
  border: 7px solid;
  border-image: url(/media/borders/brown-clouds.png) 5 fill round;
  border-image-outset: 2px;
  border-radius: 8px;
  padding: 2px;
  box-shadow: 0 6px 16px rgba(141, 124, 118, .20);
  position: relative;
}

.title-wrap::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background-image: url(/media/graphics/pngs/c0m43r.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 10;
}

.ribbon {
  width: 15px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px;
  margin-bottom: 2px;
}

.heart {
  margin-left: 1px;
  margin-right: 1px;
}

.pick {
  color: #ed8bb2;
  font-weight: 800;
}

#questionnaires-this-or-that .question-number {
  display: none;
}

#questionnaires-this-or-that .note-item {
  justify-content: center;
  border-bottom: none;
  padding: 3px 0;
}

#questionnaires-this-or-that .note-text {
  text-align: center;
}

#questionnaires-this-or-that .win-body {
  gap: 2px;
}

.desktop {
  width: 1150px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 25px 0 35px;
  display: flex;
  flex-direction: column;
  font-family: 'Nunito', sans-serif;
  align-items: center;
}

.desktop-title {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 20px 25px;
  background: #fff;
  border: 1px solid var(--pink-deep);
  border-radius: 10px 10px 0 0;
  text-align: left;
}

.header-icon-wrap {
  position: relative;
  flex: 0 0 82px;
}

.header-icon {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  padding: 4px;
  border: 1.5px solid #ffffff;
  outline: 1px solid #fcc9de;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.header-icon-decor {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: auto;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 2px 1px rgba(141, 124, 118, 0.25));
}

.header-info {
  min-width: 0;
  margin-top: 10px;
}

.kicker {
  margin: 0 0 4px;
  color: #d779a1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #8d7c76;
  line-height: 1.15;
  font-family: 'spirits';
  font-size: 22px;
  font-weight: 400;
}

.desktop-title>p:last-child {
  margin-top: 7px;
  color: var(--brown);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #ffeff7;
  border: 1px solid var(--pink-deep);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

.nav-tab,
.top-nav>a {
  flex: 1 1 120px;
  min-width: 0;
  padding: 8px 12px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--brown-dark);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .8), inset -2px -2px 2px rgba(215, 127, 171, .15);
}

.nav-tab:first-child,
.top-nav>a:first-child {
  border-radius: 0 0 0 10px;
}

.nav-tab:last-child,
.top-nav>a:last-child {
  border-radius: 0 0 10px 0;
  border-right: none;
}

.nav-tab:hover,
.top-nav>a:hover,
.nav-tab.active {
  background: #ffe0ec;
  color: var(--brown-dark);
  text-decoration: none;
  font-style: normal;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .8), inset -2px -2px 2px rgba(215, 127, 171, .15);
}

.view-note {
  margin: 25px 0 -8px;
  color: var(--brown);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

.list-columns {
  width: 100%;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.list-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
}

.window {
  position: relative;
  width: 100%;
  margin: 0;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #fff;
  outline: 1px solid var(--pink-deep);
  box-shadow: var(--shadow), inset 0 0 0 1px #ffffff80;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  break-inside: avoid;
  page-break-inside: avoid;
  font-family: 'Nunito', sans-serif;
}

.credits {
  font-size: 12px;
  opacity: 0.8;
}

.dot {
  margin-left: 5px;
  margin-right: 5px;
  font-size: 10px;
}

.list-columns.art-view {
  display: block;
  column-count: 4;
  column-gap: 16px;
}

.art-view .window {
  width: 100%;
  margin-bottom: 16px;
  display: inline-block;
  break-inside: avoid;
}

.art-view .art-window-body .art-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.list-columns.questionnaire-view {
  grid-template-columns: 1.4fr 1.4fr 0.8fr;
  gap: 16px;
}

.art-view .list-column {
  display: contents;
}

.questionnaire-view .list-column {
  display: contents;
}

.list-note[hidden] {
  display: none;
}

.win-header {
  position: relative;
  background: #ffeff7;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffdaed;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .8), inset -2px -2px 2px rgba(215, 127, 171, .15);
  user-select: none;
  flex-shrink: 0;
}

.win-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  background: #fff;
  pointer-events: none;
  z-index: 3;
}

.win-header:has(+ .window-desc)::after {
  content: none;
}

.window-desc {
  position: relative;
  flex-shrink: 0;
  margin: 0;
  padding: 8px 18px;
  border-bottom: 1px solid #f0d3de;
  background: #fff;
  color: var(--brown);
  font-size: 11px;
  font-weight: 600;
  font-family: 'Nunito', sans-serif;
}

.window-desc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  background: #fff;
  pointer-events: none;
  z-index: 3;
}

.win-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #88685d;
  font-size: .7rem;
  font-weight: 800;
  text-transform: lowercase;
}

.win-controls {
  display: flex;
  gap: 5px;
}

.win-btn {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #f0b5cd;
}

.win-btn.close {
  background: #f4abcb;
}

.win-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  max-height: 380px;
  padding: 15px 18px 42px;
  overflow-y: auto;
  color: #5b5b5b;
  font-family: 'Nunito', sans-serif;
  font-size: 12px;
  font-weight: 500;
}

.long-list-body {
  max-height: 560px;
}

.win-body p {
  margin: 0;
}

.win-body ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.55;
}

.win-body li::marker {
  color: #ea85af;
}

.win-body li b {
  color: #d779a1;
}

.list-rows {
  border: 1px solid #ead3df;
  background: #fffcfe;
}

.list-rows p {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 8px;
  padding: 7px 9px;
  border-bottom: 1px dotted #ead3df;
}

.list-rows p:last-child {
  border-bottom: 0;
}

.list-rows b {
  color: #d779a1;
  font-size: 10px;
  text-transform: uppercase;
}

.list-rows span {
  color: #8d7c76;
}

.questionnaire-body {
  max-height: 440px;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 6px 0;
  border-bottom: 1px dashed #f0d3de;
}

.note-item:last-child {
  border-bottom: 0;
}

.question-number {
  flex-shrink: 0;
  display: block;
  margin-top: 1px;
  color: #ed8bb2;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
}

.note-text {
  font-size: 12px;
  line-height: 1.4;
}

.note-text b {
  color: #ed8bb2;
}

.art-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.art-grid a {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 5px;
  border: 1px solid #ead3df;
  background: #fff5fa;
  color: #8d7c76;
  text-align: center;
}

.art-grid a:hover {
  background: #ffeff7;
  text-decoration: none;
  font-style: normal;
}

.art-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.art-grid span {
  color: #d779a1;
  font-size: 10px;
}

.art-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  border: 1px solid #ead3df;
  background: #fff5fa;
  color: #8d7c76;
  text-align: center;
}

.art-item:hover {
  background: #ffeff7;
  text-decoration: none;
  font-style: normal;
}

.art-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.art-item span {
  color: #d779a1;
  font-size: 10px;
}

.art-window-body {
  max-height: none;
  padding: 0;
}

.art-window-body .art-item {
  padding: 10px;
  border: 0;
  background: none;
}

.art-window-body .art-item img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
}

.art-mini-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  flex: 0 0 20%;
  min-height: 0;
}

.art-mini-photos img {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px solid #ead3df;
  background: #fff5fa;
  object-fit: cover;
}

.window-dates {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-end;
  margin: 0 !important;
  padding: 5px 12px 6px;
  background: #fff;
  gap: 4px;
  color: var(--brown);
  font-size: 9px;
  line-height: 1.2;
  text-align: right;
  z-index: 2;
  pointer-events: none;
}

.scroll-hint {
  display: none;
  position: absolute;
  left: 12px;
  bottom: 10px;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ec4899;
  opacity: 0.75;
  z-index: 3;
  cursor: pointer;
}

.scroll-hint:hover {
  opacity: 1;
}

.scroll-hint.visible {
  display: flex;
}

.scroll-hint svg {
  width: 12px;
  height: 12px;
  animation: scroll-hint-bounce 1.4s ease-in-out infinite;
}

.scroll-hint.at-bottom svg {
  transform: rotate(180deg);
  animation: scroll-hint-bounce-up 1.4s ease-in-out infinite;
}

@keyframes scroll-hint-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(2px);
  }
}

@keyframes scroll-hint-bounce-up {

  0%,
  100% {
    transform: rotate(180deg) translateY(0);
  }

  50% {
    transform: rotate(180deg) translateY(2px);
  }
}

.empty-view {
  margin: 65px auto;
  color: var(--brown);
  text-align: center;
}

.desktop-footer {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 25px 0 0 auto;
  color: var(--brown);
  font-size: 11px;
}

.desktop-footer a {
  color: #f2a7c5;
  font-weight: 800;
}

.emoji {
  width: auto;
  overflow-clip-margin: content-box;
  overflow: clip;
  vertical-align: middle;
  margin-top: -2px;
  margin-left: 5px;
  margin-right: 2px;
  height: 14px;
  margin-bottom: -1px;
}

.corner-art {
  width: 80px;
  height: auto;
  object-fit: contain;
  shape-margin: 2px;
}

.corner-art.top-right {
  float: right;
  margin: 5;
}

.corner-art.bottom-left {
  float: left;
  margin: 8px 12px 0 0;
}

.win-body.image-only {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
}

.cursive {
  font-family: spirits;
}

.win-body.image-only .corner-art {
  float: none;
  margin: 0;
  width: 90px;
}

@media (max-width:899px) {

  .wing-left,
  .wing-right {
    display: none;
  }

  .desktop {
    width: calc(100% - 40px);
  }

  .list-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 30px;
  }

  .list-columns.art-view {
    column-count: 3;
  }
}

@media (max-width:700px) {

  .wing-left,
  .wing-right {
    display: none;
  }

  .list-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .list-columns.art-view {
    column-count: 2;
  }

  .list-columns.questionnaire-view {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width:520px) {

  .wing-left,
  .wing-right {
    display: none;
  }

  .desktop {
    width: calc(100% - 24px);
    padding-top: 15px;
  }

  .desktop-title {
    gap: 8px;
    padding: 14px 12px;
  }

  .header-icon {
    width: 65px;
    height: 65px;
    flex-basis: 65px;
    margin-left: 8px;
    margin-bottom: 5px;
  }

  .header-icon-decor {
    margin-bottom: 3px;
  }

  h1 {
    font-size: 14px;
    line-height: 1.2;
  }

  .desktop-title p {
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.3;
  }

  .credits {
    font-size: 9px;
  }

  .top-nav {
    flex-wrap: wrap;
  }

  .nav-tab,
  .top-nav>a {
    flex: 0 0 33.3333%;
    border-bottom: none;
    font-size: 11px;
    white-space: nowrap;
  }

  .nav-tab:nth-child(3) {
    border-right: none;
  }

  .nav-tab:nth-child(1),
  .nav-tab:nth-child(3) {
    border-radius: 0;
  }

  .nav-tab:nth-child(4) {
    border-radius: 0 0 0 10px;
  }

  .nav-tab:nth-child(6) {
    border-radius: 0 0 10px 0;
  }

  .list-columns {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .list-columns.art-view {
    column-count: 2;
  }

  .list-columns.questionnaire-view {
    grid-template-columns: 1fr;
  }

  .window {
    margin-bottom: 0;
  }

  .win-body {
    max-height: none;
  }

  .questionnaire-body {
    max-height: 70vh;
  }

  .list-rows p {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .desktop-footer {
    width: 100%;
    margin: 25px 0 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
  }
}