.tg-profile.tg-profile--template-ninety-eight {
  --tg-profile-accent: #0000ff;
  --tg-profile-background: #000080;
  --tg-profile-surface: #ffffcc;
  --tg-profile-text: #000000;
  --tg-profile-muted: #555555;
  --tg-profile-line: #808080;
  --tg-profile-card-radius: 0px;
  --tg-profile-avatar-size: 5.65rem;
  --tg-profile-avatar-radius: 0px;
  --tg-profile-avatar-background: #c0c0c0;
  --tg-profile-avatar-border-width: 4px;
  --tg-profile-avatar-border-color: #ffffff;
  --tg-profile-avatar-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #404040, 4px 4px 0 #000000;
  --tg-profile-avatar-overlay-background: transparent;
  --tg-profile-avatar-overlay-shadow: none;
  --tg-profile-posts-block-background: transparent;
  --tg-profile-posts-block-border-width: 0;
  --tg-profile-posts-block-padding: 0;
  --tg-profile-posts-gap: .65rem;
  --tg-profile-post-card-background: #ffffcc;
  --tg-profile-post-card-border-width: 4px;
  --tg-profile-post-card-border-color: #808080;
  --tg-profile-post-card-padding: .85rem .9rem;
  --tg-profile-post-card-radius: 0px;
  --tg-profile-post-card-shadow: 4px 4px 0 #000000;
  --tg-profile-post-card-content-gap: .45rem .6rem;
  --tg-profile-post-media-radius: 0px;
  --tg-profile-post-social-background: #c0c0c0;
  --tg-profile-post-social-border-color: #808080;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 14px),
    radial-gradient(1px 1px at 7% 9%, #ffffff 99%, transparent),
    radial-gradient(1px 1px at 15% 28%, #00ffff 99%, transparent),
    radial-gradient(1px 1px at 26% 12%, #ffffff 99%, transparent),
    radial-gradient(1.5px 1.5px at 35% 34%, #ffff00 99%, transparent),
    radial-gradient(1px 1px at 47% 18%, #ffffff 99%, transparent),
    radial-gradient(1px 1px at 58% 5%, #00ffff 99%, transparent),
    radial-gradient(1.5px 1.5px at 67% 31%, #ffffff 99%, transparent),
    radial-gradient(1px 1px at 81% 13%, #ffff00 99%, transparent),
    radial-gradient(1px 1px at 92% 35%, #ffffff 99%, transparent),
    linear-gradient(180deg, #00008b, #00004f 62%, #191970);
  border: 6px ridge #c0c0c0;
  color: var(--tg-profile-text);
  font-family: "Times New Roman", Times, Georgia, serif;
  gap: .65rem;
  image-rendering: auto;
  padding: .65rem;
  position: relative;
}

html:has(.tg-profile--template-ninety-eight),
body.app-route-profile:has(.tg-profile--template-ninety-eight),
body.app-route-profile-view:has(.tg-profile--template-ninety-eight) {
  background:
    radial-gradient(1px 1px at 10% 12%, rgba(255, 255, 255, .95), transparent),
    radial-gradient(1px 1px at 22% 8%, rgba(0, 255, 255, .9), transparent),
    radial-gradient(1px 1px at 34% 19%, rgba(255, 255, 0, .85), transparent),
    radial-gradient(1px 1px at 48% 6%, rgba(255, 255, 255, .95), transparent),
    radial-gradient(1px 1px at 57% 15%, rgba(0, 255, 255, .85), transparent),
    radial-gradient(1px 1px at 66% 5%, rgba(255, 255, 255, .9), transparent),
    radial-gradient(1px 1px at 75% 18%, rgba(255, 255, 0, .9), transparent),
    radial-gradient(1px 1px at 86% 9%, rgba(255, 255, 255, .9), transparent),
    radial-gradient(1.5px 1.5px at 15% 28%, rgba(255, 255, 255, .95), transparent),
    radial-gradient(1.5px 1.5px at 38% 32%, rgba(0, 255, 255, .9), transparent),
    radial-gradient(1.5px 1.5px at 59% 35%, rgba(255, 255, 255, .95), transparent),
    radial-gradient(1.5px 1.5px at 82% 26%, rgba(255, 255, 0, .9), transparent),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #00008b, #00004f 58%, #191970) !important;
}

.tg-profile.tg-profile--template-ninety-eight::before {
  background:
    linear-gradient(90deg, #ffff00 0 8%, #ff00ff 8% 16%, #00ffff 16% 24%, #00ff00 24% 32%, #ff0000 32% 40%, #0000ff 40% 48%, #ffff00 48% 56%, #ff00ff 56% 64%, #00ffff 64% 72%, #00ff00 72% 80%, #ff0000 80% 88%, #0000ff 88% 100%);
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: 3px 3px 0 #000000;
  content: "";
  display: block;
  height: 18px;
  margin-bottom: .25rem;
  width: 100%;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__region {
  gap: .65rem;
  min-width: 0;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__region--hero {
  background: #c0c0c0;
  border: 4px ridge #ffffff;
  box-shadow: 4px 4px 0 #000000;
  padding: .45rem;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__region--hero::before {
  background:
    linear-gradient(#ffffff, #ffffff) calc(100% - 52px) 5px / 10px 10px no-repeat,
    linear-gradient(#ffffff, #ffffff) calc(100% - 36px) 5px / 10px 10px no-repeat,
    linear-gradient(#ffffff, #ffffff) calc(100% - 20px) 5px / 10px 10px no-repeat,
    linear-gradient(90deg, #000080, #0000cd 72%, #c0c0c0 72% 100%);
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  content: "";
  display: block;
  height: 20px;
  margin-bottom: .4rem;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__region--side {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .35) 0 1px, transparent 1px 12px),
    #008080;
  border: 4px groove #c0c0c0;
  box-shadow: 4px 4px 0 #000000;
  padding: .55rem;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__region--main {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .44) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, .44) 1px, transparent 1px),
    #ffffcc;
  background-size: 16px 16px;
  border: 4px ridge #c0c0c0;
  box-shadow: 4px 4px 0 #000000;
  padding: .55rem;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 204, .95)),
    #ffffcc;
  border: 4px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080, 3px 3px 0 #000000;
  color: #000000;
  overflow: visible;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block::before {
  background:
    repeating-linear-gradient(90deg, #000080 0 12px, #0000cd 12px 24px);
  border: 1px solid #000080;
  content: "";
  display: block;
  height: 12px;
  margin: -.2rem -.2rem .55rem;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--header {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--header::before,
.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--composer::before,
.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--posts::before {
  display: none;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__header-media.header-picture {
  border: 5px inset #c0c0c0;
  box-shadow: inset 2px 2px 0 #000000, inset -2px -2px 0 #ffffff;
  min-height: var(--tg-profile-header-height);
  position: relative;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__header-media.header-picture::after {
  background:
    repeating-linear-gradient(45deg, #ffff00 0 10px, #000000 10px 20px);
  border-top: 3px ridge #c0c0c0;
  bottom: 0;
  content: "";
  height: 20px;
  left: 0;
  opacity: .92;
  position: absolute;
  right: 0;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--identity-card {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 1px, transparent 1px 10px),
    linear-gradient(180deg, #0000cd, #000080) !important;
  color: #ffffff !important;
  text-align: center;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--identity-card::before {
  background:
    linear-gradient(90deg, #ffff00 0 20%, #ff00ff 20% 40%, #00ffff 40% 60%, #00ff00 60% 80%, #ff0000 80% 100%);
  border-color: #ffffff #404040 #404040 #ffffff;
  height: 14px;
}

.tg-profile.tg-profile--template-ninety-eight .profile-pic,
.tg-profile.tg-profile--template-ninety-eight .note-profile-pic,
.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__avatar {
  image-rendering: auto;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__name.header-username,
.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--identity-card .tg-profile__name {
  color: #ffff00;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: calc(1.9rem * var(--tg-profile-heading-scale));
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  text-shadow: 2px 2px 0 #ff00ff, 4px 4px 0 #000000;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--identity-card .tg-profile__handle,
.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--identity-card .app-muted {
  color: #ffffff;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__intro,
.tg-profile.tg-profile--template-ninety-eight .tg-profile__custom-text {
  color: #000000;
  font-size: .94rem;
  line-height: 1.48;
  text-align: left;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--intro {
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .58) 0 2px, transparent 2px 8px),
    #ffff99;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--links {
  background: #c0c0c0;
  text-align: center;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__links,
.tg-profile.tg-profile--template-ninety-eight .links {
  display: grid;
  gap: .35rem;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__links a,
.tg-profile.tg-profile--template-ninety-eight .saved-link {
  background: #c0c0c0;
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: 2px 2px 0 #000000;
  color: #0000ff;
  display: block;
  font-size: .88rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  padding: .38rem .45rem;
  text-decoration: underline;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__links a:visited,
.tg-profile.tg-profile--template-ninety-eight .saved-link:visited {
  color: #800080;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__links a:hover,
.tg-profile.tg-profile--template-ninety-eight .saved-link:hover {
  background: #ffff00;
  border-color: #404040 #ffffff #ffffff #404040;
  color: #ff0000;
}

.tg-profile.tg-profile--template-ninety-eight a {
  color: #0000ff;
  text-decoration: underline;
}

.tg-profile.tg-profile--template-ninety-eight a:visited {
  color: #800080;
}

.tg-profile.tg-profile--template-ninety-eight a:hover {
  color: #ff0000;
}

.tg-profile.tg-profile--template-ninety-eight .tg-composer,
.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__composer {
  background: #ffffcc;
  border: 4px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080, 3px 3px 0 #000000;
}

.tg-profile.tg-profile--template-ninety-eight .tg-composer__form .tg-post-comment-composer__textarea,
.tg-profile.tg-profile--template-ninety-eight textarea.input-field,
.tg-profile.tg-profile--template-ninety-eight select.input-field,
.tg-profile.tg-profile--template-ninety-eight input.input-field {
  background: #ffffff;
  border: 3px inset #c0c0c0;
  border-radius: 0;
  color: #000000;
  font-family: "Times New Roman", Times, Georgia, serif;
}

.tg-profile.tg-profile--template-ninety-eight button,
.tg-profile.tg-profile--template-ninety-eight .tg-icon-button,
.tg-profile.tg-profile--template-ninety-eight .tg-pill-button,
.tg-profile.tg-profile--template-ninety-eight .tg-profile-posts__filter,
.tg-profile.tg-profile--template-ninety-eight .tg-profile-posts__profile-link,
.tg-profile.tg-profile--template-ninety-eight .tg-post-comment-composer__submit {
  background: #c0c0c0;
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  border-radius: 0;
  box-shadow: 1px 1px 0 #000000;
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .78rem;
  font-weight: 700;
}

.tg-profile.tg-profile--template-ninety-eight button:active,
.tg-profile.tg-profile--template-ninety-eight .tg-icon-button:active,
.tg-profile.tg-profile--template-ninety-eight .tg-pill-button:active,
.tg-profile.tg-profile--template-ninety-eight .tg-profile-posts__filter.is-active {
  background: #000080;
  border-color: #404040 #ffffff #ffffff #404040;
  color: #ffff00;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile-posts__filters {
  background: #c0c0c0;
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  gap: .35rem;
  margin-bottom: .65rem;
  padding: .35rem;
}

.tg-profile.tg-profile--template-ninety-eight [data-posts][data-profile-posts="1"] {
  gap: .65rem;
}

.tg-profile.tg-profile--template-ninety-eight [data-posts][data-profile-posts="1"] > .note-container {
  background:
    linear-gradient(180deg, #ffffcc, #ffff99);
  border: 4px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080, 4px 4px 0 #000000;
  margin-top: 0;
  padding-bottom: .8rem !important;
  padding-top: 1.15rem !important;
  position: relative;
}

.tg-profile.tg-profile--template-ninety-eight [data-posts][data-profile-posts="1"] > .note-container::before {
  background:
    linear-gradient(90deg, #000080, #0000cd 70%, #c0c0c0 70%);
  border-bottom: 2px solid #808080;
  content: "";
  height: 16px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.tg-profile.tg-profile--template-ninety-eight .note-header {
  color: #0000ff;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: underline;
}

.tg-profile.tg-profile--template-ninety-eight .note-content {
  color: #000000;
  font-size: .94rem;
  line-height: 1.45;
}

.tg-profile.tg-profile--template-ninety-eight .note-profile-pic {
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: 2px 2px 0 #000000;
  height: 2.2rem;
  left: .8rem;
  top: 1.15rem;
  width: 2.2rem;
}

.tg-profile.tg-profile--template-ninety-eight .note-circle-1 {
  background: #c0c0c0;
  border: 2px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  border-radius: 0;
  height: 1.15rem;
  width: 1.15rem;
}

.tg-profile.tg-profile--template-ninety-eight .note-circle-1-info {
  background: #ffffcc;
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  border-radius: 0;
}

.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts {
  background:
    radial-gradient(circle at 12px 12px, #ff00ff 0 2px, transparent 2px),
    radial-gradient(circle at 4px 4px, #00ffff 0 1px, transparent 1px),
    #ffffcc;
  background-size: 24px 24px, 12px 12px, auto;
  border: 0;
  padding: 0;
}

.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__header,
.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__item-header {
  color: #000080;
  font-family: Arial, Helvetica, sans-serif;
  font-size: .82rem;
  font-weight: 700;
}

.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__item {
  background: #ffffff;
  border: 3px dashed #0000ff;
  border-radius: 0;
  box-shadow: 3px 3px 0 #808080;
  color: #000000;
}

.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__badge {
  background: #ffff00;
  border: 2px solid #000000;
  border-radius: 0;
  color: #000000;
}

.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__avatar {
  border: 3px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  border-radius: 0;
}

.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__content {
  background: #ffffff;
  border: 2px inset #c0c0c0;
  color: #000000;
  padding: .45rem;
}

.tg-profile.tg-profile--template-ninety-eight .tg-user-post__media:not(.has-map),
.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__media,
.tg-profile.tg-profile--template-ninety-eight .tg-profile-grid-post__media {
  background:
    linear-gradient(45deg, #c0c0c0 25%, transparent 25% 75%, #c0c0c0 75%),
    linear-gradient(45deg, #c0c0c0 25%, #ffffff 25% 75%, #c0c0c0 75%);
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
  border: 4px inset #c0c0c0;
  box-shadow: inset 0 0 0 2px #000000, 3px 3px 0 #000000;
  image-rendering: pixelated;
  overflow: hidden;
  position: relative;
}

.tg-profile.tg-profile--template-ninety-eight .tg-user-post__media > img,
.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__media img,
.tg-profile.tg-profile--template-ninety-eight .tg-profile-grid-post__media img {
  filter: contrast(1.45) saturate(1.85) brightness(1.04);
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transform: scale(1.012);
}

.tg-profile.tg-profile--template-ninety-eight .tg-user-post__media:not(.has-map)::before,
.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__media::before,
.tg-profile.tg-profile--template-ninety-eight .tg-profile-grid-post__media::before {
  background:
    linear-gradient(90deg, rgba(255, 0, 255, .18) 0 1px, transparent 1px 6px),
    linear-gradient(0deg, rgba(0, 255, 255, .16) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
  content: "";
  inset: 0;
  mix-blend-mode: hard-light;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.tg-profile.tg-profile--template-ninety-eight .tg-user-post__media:not(.has-map)::after,
.tg-profile.tg-profile--template-ninety-eight .tg-wall-posts__media::after,
.tg-profile.tg-profile--template-ninety-eight .tg-profile-grid-post__media::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 0, .22), transparent 18%, rgba(0, 255, 255, .18) 38%, transparent 58%, rgba(255, 0, 255, .2) 78%, transparent),
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(0, 0, 0, .2) 5px 6px),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(0, 0, 0, .16) 5px 6px);
  content: "";
  inset: 0;
  mix-blend-mode: color-burn;
  opacity: .48;
  pointer-events: none;
  position: absolute;
  z-index: 3;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--plugin .bento,
.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--plugin .tg-profile-module-card,
.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--plugin .tg-upto-card {
  background: #ffffcc;
  border: 4px solid;
  border-color: #ffffff #404040 #404040 #ffffff;
  border-radius: 0;
  box-shadow: inset 1px 1px 0 #ffffff, inset -1px -1px 0 #808080, 3px 3px 0 #000000;
}

.tg-profile.tg-profile--template-ninety-eight .tg-profile__block--plugin .tg-upto-card {
  text-align: center;
}

.tg-profile.tg-profile--template-ninety-eight img,
.tg-profile.tg-profile--template-ninety-eight video {
  border-radius: 0 !important;
}

.tg-profile.tg-profile--template-ninety-eight hr,
.tg-profile.tg-profile--template-ninety-eight .tg-profile__block + .tg-profile__block {
  border-top: 3px groove #c0c0c0;
}

@media (max-width: 767px) {
  .tg-profile.tg-profile--template-ninety-eight {
    border-width: 4px;
    gap: .55rem;
    padding: .45rem;
  }

  .tg-profile.tg-profile--template-ninety-eight .tg-profile__region,
  .tg-profile.tg-profile--template-ninety-eight .tg-profile__block {
    width: 100%;
  }

  .tg-profile.tg-profile--template-ninety-eight .tg-profile__region--side,
  .tg-profile.tg-profile--template-ninety-eight .tg-profile__region--main {
    box-shadow: 2px 2px 0 #000000;
    padding: .45rem;
  }

  .tg-profile.tg-profile--template-ninety-eight .tg-profile__name.header-username,
  .tg-profile.tg-profile--template-ninety-eight .tg-profile__block--identity-card .tg-profile__name {
    font-size: calc(1.45rem * var(--tg-profile-heading-scale));
    text-shadow: 1px 1px 0 #ff00ff, 2px 2px 0 #000000;
  }

  .tg-profile.tg-profile--template-ninety-eight .tg-profile__header-media.header-picture {
    min-height: min(var(--tg-profile-header-height), 180px);
  }

  .tg-profile.tg-profile--template-ninety-eight .tg-profile__links a,
  .tg-profile.tg-profile--template-ninety-eight .saved-link {
    font-size: .82rem;
  }
}
