/* reusable window, every app is basically one of these */

.window {
  position: absolute;
  display: flex;
  flex-direction: column;

  width: fit-content;
  max-width: 660px;
  max-height: 80vh;
  box-sizing: border-box;

  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow);

  overflow: hidden;
}


/* the title bar you grab to drag */
.windowheader {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 9px 14px;

  cursor: grab;
  user-select: none;

  background: var(--panel-2);
  border-bottom: 1px solid var(--border);
}

.windowheader:active { cursor: grabbing; }


.closebutton {
  width: 13px;
  height: 13px;
  border-radius: 50%;

  background: #e0685a;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
}

.closebutton:hover { background: #d2523f; }


.headertext {
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* keeps the title roughly centered next to the close dot */
.header-spacer {
  width: 13px;
  height: 13px;
}

.windowcontent {
  padding: 28px 32px 32px;
  overflow-y: auto;
}


/* ---- welcome window bits ---- */

.title {
  margin: 0;
  font-family: var(--title-font);
  font-weight: var(--title-weight);
  font-size: var(--title-size);
  letter-spacing: -0.5px;
  color: var(--accent);
  text-shadow: var(--glow);
}

.subtitle {
  margin: 6px 0 24px;
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: 14px;
}


.cat-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;

  border-radius: 16px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
}

.cat-caption {
  max-width: 560px;
  line-height: 1.7;
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
}


.bio {
  max-width: 560px;
  line-height: 1.7;
  margin-top: 24px;
  color: var(--text);
}

.bio strong {
  color: var(--accent-hover);
}

.bio dfn {
  color: var(--accent-hover);
  font-style: normal;
}

.bio abbr {
  border-bottom: 1px dotted var(--accent);
  cursor: help;
}

.bio s {
  color: var(--text-muted);
}


.links {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.links a {
  padding: 9px 18px;

  background: var(--accent-soft);
  color: var(--accent-hover);
  text-decoration: none;

  border: 1px solid transparent;
  border-radius: 8px;

  font-weight: 600;
  font-size: 14px;
}

.links a:hover {
  background: var(--accent);
  color: #fff;
}
