:root {
  --aqua: #00ced1;
  --seafoam: #48d1cc;
  --teal: #20b2aa;
  --deep-teal: #008b8b;
  --coral: #ff7f50;
  --salmon: #fa8072;
  --ink: #2f4f4f;
  --header-image: url("https://64.media.tumblr.com/tumblr_m25pt1H0m81rrszsuo1_500.jpg");
  --beach: url("https://64.media.tumblr.com/e0d3a7727e18982f282bf98c01aab07f/1178a5517e2d0e71-58/s640x960/02742bba47d5452cc97815546841213adc1f78f3.gifv");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

body {
  margin: 0;
  padding: 36px 20px 60px;
  min-height: 100vh;
  font-family: Tahoma, Verdana, Arial, sans-serif;
  font-size: 13px;
  color: var(--ink);
  background: var(--beach) no-repeat center center fixed;
  background-size: cover;
  background-color: #236b8e;
}

a {
  color: #006e71;
}

a:hover {
  color: #ad3e28;
}

button, a {
  touch-action: manipulation;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid #b83e26;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 20px;
  z-index: 10;
  padding: 12px;
  background: white;
}

.skip-link:focus {
  top: 10px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


.forum-shell {
  width: min(100%, 1040px);
  margin: 0 auto;
  padding: 6px;
  border: 1px solid #ddffff;
  border-radius: 19px 19px 10px 10px;
  background: linear-gradient(135deg, #efffffbb, #48d1cc99 48%, #eaffffc7);
  box-shadow: 0 0 0 1px #008b8b99, 0 12px 35px #004b5b66, inset 0 1px 1px white;
  backdrop-filter: blur(7px);
}

.site-header {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 195px;
  padding: 20px 32px;
  overflow: hidden;
  border: 1px solid #c8ffff;
  border-radius: 14px 14px 0 0;
  background-color: #bff8e7;
  background-image: linear-gradient(180deg, #ffffff30, #36c7bc38), var(--header-image), linear-gradient(180deg, #ffffffdd 0%, #e0ffffb8 48%, #7ce0dcb8 49%, #bff8e7c9 100%);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px white;
}

.dolphin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: block;
  width: 170px;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 7px #007f8940);
}

.eyebrow {
  margin: 0 0 9px;
  font-size: 9px;
  font-weight: bold;
  letter-spacing: 1.5px;
  color: #176a70;
}

.header-bubble {
  position: absolute;
  right: -35px;
  bottom: -65px;
  width: 215px;
  height: 215px;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 22%, #fffffff0, #ffffff1a 26%, #00ced133 65%, #ffffffa6);
  box-shadow: inset 0 0 20px #ffffffa0, 0 0 0 18px #ffffff18;
  pointer-events: none;
}


.forum-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 9px 16px;
  border: 1px solid #008b8b;
  background: linear-gradient(#61e1dc 0%, #29c6bf 48%, #10a49e 49%, #20b2aa 100%);
  box-shadow: inset 0 1px #efffff;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tab, .home-link {
  display: inline-block;
  padding: 8px 20px;
  border: 1px solid #007e80;
  border-radius: 6px;
  color: #004d53;
  font-weight: bold;
  font-size: 12px;
  text-decoration: none;
  background: linear-gradient(#f4ffff, #c8fbf5 48%, #93e7df 49%, #c4fff1);
  box-shadow: inset 0 1px white, 0 1px 2px #006d7855;
}

.tab:hover, .tab.active, .home-link:hover {
  color: #74321c;
  border-color: #d96545;
  background: linear-gradient(#fff1dd, #ffc5a8 48%, var(--coral) 49%, #ffb49c);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 13px 20px;
  background: #edffffd9;
  border-bottom: 1px solid #8edbd3;
  font-size: 11px;
}

.breadcrumb a {
  font-weight: bold;
  text-decoration: none;
}

.forum-statusbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 8px 16px;
  border-bottom: 1px solid #78c3ba;
  color: #426d69;
  font-size: 10px;
  background: linear-gradient(#f5fffb, #dcefe9);
}

.board-online {
  color: #006d68;
  font-weight: bold;
  text-transform: uppercase;
}

.online-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #45ac65;
  box-shadow: 0 0 0 2px #45ac6530;
  vertical-align: 1px;
}

.forum-statusbar a {
  margin-left: auto;
  color: #006e71;
  font-weight: bold;
  text-decoration: none;
}

.welcome-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 16px 0;
  padding: 10px 15px;
  border: 1px solid #e0a18c;
  border-radius: 5px;
  background: linear-gradient(#fffdf5, #ffecdf);
  box-shadow: inset 0 1px white;
}

.message-icon {
  color: #cc6348;
  font-size: 24px;
}

.welcome-strip p {
  margin: 0;
  font-size: 12px;
}

.welcome-strip p span {
  margin-left: 8px;
  color: #9c5543;
}

.strip-note {
  margin-left: auto;
  font-size: 10px;
  color: #805c50;
}

.content {
  display: none;
  padding: 18px 16px 8px;
}

.content.active {
  display: block;
}

.board-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 10px 5px;
}

.board-heading .eyebrow {
  margin-bottom: 5px;
  font-size: 8px;
}

.board-heading h2 {
  margin: 0;
  color: #006d75;
  font: normal 25px "Trebuchet MS", Tahoma, sans-serif;
  text-shadow: 0 1px white;
}

.board-count {
  padding: 6px 12px;
  border: 1px solid #80c7c1;
  border-radius: 12px;
  background: #efffffc9;
  font-size: 10px;
  white-space: nowrap;
}

.post {
  margin-bottom: 22px;
  overflow: hidden;
  border: 1px solid #168d90;
  border-radius: 7px;
  background: #f6ffff;
  box-shadow: 0 3px 7px #00647433, inset 0 1px white;
  scroll-margin-top: 20px;
}

.post:target, .thought:target {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 17px;
  border-bottom: 1px solid #087c7e;
  background: linear-gradient(#deffff 0%, #87e8df 46%, #42c6bc 47%, #b4f4e9 100%);
  box-shadow: inset 0 1px white;
}

.title-bar-text {
  margin: 0;
  color: #004d55;
  font-size: 15px;
  line-height: 1.4;
  text-shadow: 0 1px #ffffffb3;
}

.post-link {
  flex-shrink: 0;
  font-size: 10px;
  color: #145a60;
  text-decoration: none;
}

.forum-layout {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
}

.forum-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 14px;
  border-right: 1px solid #a0d7d0;
  background: linear-gradient(110deg, #f2ffff, #d9f5ed);
  text-align: center;
}

.forum-username {
  margin-bottom: 5px;
  color: #00787b;
  font-weight: bold;
  font-size: 17px;
  text-shadow: 0 1px white;
}

.forum-title {
  margin-bottom: 15px;
  color: #4b7775;
  font-size: 10px;
}

.forum-avatar {
  display: block;
  width: 90px;
  height: 90px;
  margin-bottom: 17px;
  padding: 4px;
  border: 1px solid #8fbab8;
  border-radius: 7px;
  object-fit: cover;
  background: linear-gradient(135deg, white, #bce8dd);
  box-shadow: 0 2px 3px #007d7e26, inset 0 1px white;
}

.forum-stats {
  width: 100%;
  padding-top: 12px;
  border-top: 1px dotted #82bdb4;
  color: #48706f;
  font-size: 10px;
  line-height: 1.8;
  text-align: left;
}

.web-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dotted #82bdb4;
}

.web-buttons img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.forum-main {
  min-width: 0;
  padding: 24px 26px;
  background: linear-gradient(#fff, #f7fffd);
  overflow-wrap: anywhere;
}

.forum-main p {
  margin: 0 0 17px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--ink);
}

.forum-main p:last-child {
  margin-bottom: 0;
}

.forum-main img {
  max-width: 100%;
  height: auto;
}

.forum-main iframe {
  max-width: 100%;
}

.forum-signature {
  margin-top: 26px;
  padding-top: 13px;
  border-top: 1px dashed #88bdb5;
  color: #4b8582;
  font-size: 11px;
  line-height: 1.6;
}

.forum-signature > br:first-child {
  display: none;
}

.forum-signature-image {
  display: block;
}

.forum-signature-text {
  display: block;
  margin-top: 8px;
}

.post-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 17px;
  border-top: 1px solid #b2d9d0;
  background: linear-gradient(#f4fffc, #dcefe9);
  color: #587b78;
  font-size: 10px;
}

.post-footer a {
  text-decoration: none;
}

.thought {
  margin-bottom: 17px;
  overflow: hidden;
  border: 1px solid #168d90;
  border-radius: 7px;
  background: #fafffd;
  box-shadow: 0 3px 7px #00647426;
}

.thought-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  padding: 10px 16px;
  border-bottom: 1px solid #8ad1c7;
  background: linear-gradient(#edffff, #b6eee4);
}

.thought-header img {
  width: 38px;
  height: 38px;
  padding: 2px;
  border: 1px solid #6ab5ad;
  border-radius: 5px;
  background: white;
  object-fit: cover;
}

.author {
  color: #006d73;
  font-weight: bold;
}

.handle, .date {
  color: #537572;
  font-size: 10px;
}

.date {
  margin-left: auto;
}

.thought-content {
  margin: 0;
  padding: 22px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.daily-link {
  display: block;
  padding: 8px 16px;
  border-top: 1px solid #c0e3d9;
  background: #eefaf5;
  text-align: right;
  font-size: 10px;
  text-decoration: none;
}

.video-container {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 5px;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 17px 20px;
  border-top: 1px solid #77bab2;
  border-radius: 0 0 5px 5px;
  background: #e5fff3dc;
  color: #45716c;
  font-size: 10px;
}

.forum-extras {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 16px 18px;
}

.forum-extra {
  overflow: hidden;
  border: 1px solid #83c6bd;
  border-radius: 5px;
  background: #f3fffb;
  box-shadow: 0 2px 5px #0064741c, inset 0 1px white;
}

.forum-extra-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 5px 10px;
  padding: 8px 10px;
  border-bottom: 1px solid #83c6bd;
  background: linear-gradient(#edffff, #b6eee4);
}

.forum-extra-heading h2 {
  margin: 0;
  color: #075d62;
  font-size: 11px;
  text-transform: uppercase;
}

.forum-extra-heading > span {
  color: #587d78;
  font-size: 9px;
}

.online-members {
  margin: 0;
  padding: 12px 10px;
  color: #496d69;
  font-size: 10px;
  line-height: 1.6;
}

.online-members a {
  color: #006d73;
  font-weight: bold;
  text-decoration: none;
}

.forum-stat-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 12px 10px 6px;
  color: #557773;
  font-size: 9px;
}

.forum-stat-list strong {
  color: #006d73;
  font-size: 12px;
}

.newest-member {
  margin: 0;
  padding: 3px 10px 10px;
  color: #587d78;
  font-size: 9px;
}

.newest-member strong {
  color: #006d73;
}

.forum-legend {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 10px;
  color: #557773;
  font-size: 9px;
  list-style: none;
}

.forum-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.legend-icon {
  display: inline-grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid #83c6bd;
  border-radius: 3px;
  background: #e7fff7;
  font-size: 10px;
}

.new-post {
  color: #c65e3b;
}

.read-post {
  color: #168d90;
}

.locked-post {
  color: #718783;
}


@media (max-width: 700px) {
  body {
    padding: 15px 10px 30px;
  }

  .site-header {
    min-height: 155px;
    padding: 18px;
  }

  .dolphin {
    width: 105px;
  }

  .eyebrow {
    font-size: 8px;
    letter-spacing: .7px;
  }

  .strip-note {
    display: none;
  }

  .forum-layout {
    grid-template-columns: 115px minmax(0, 1fr);
  }

  .forum-extras {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .forum-sidebar {
    padding: 17px 9px;
  }

  .forum-avatar {
    width: 76px;
    height: 76px;
  }

  .forum-main {
    padding: 20px;
  }
}

@media (max-width: 520px) {
  .forum-shell {
    padding: 4px;
  }

  .site-header {
    min-height: 130px;
    padding: 15px 12px;
  }

  .dolphin {
    width: 80px;
  }

  .forum-toolbar {
    gap: 8px;
    padding: 8px;
  }

  .tabs {
    gap: 5px;
  }

  .tab, .home-link {
    padding: 8px 10px;
    font-size: 11px;
  }

  .breadcrumb {
    padding: 11px 12px;
  }

  .welcome-strip {
    margin: 12px 8px 0;
    padding: 8px 10px;
  }

  .welcome-strip p span {
    display: none;
  }

  .content {
    padding: 14px 8px 0;
  }

  .board-heading h2 {
    font-size: 22px;
  }

  .title-bar {
    align-items: flex-start;
    padding: 11px 12px;
    gap: 10px;
  }

  .title-bar-text {
    font-size: 14px;
  }

  .post-link {
    padding-top: 3px;
    font-size: 9px;
  }

  .forum-layout {
    display: block;
  }

  .forum-extras {
    grid-template-columns: 1fr;
    margin: 0 8px 12px;
  }

  .forum-sidebar {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    gap: 3px 8px;
    padding: 10px 13px;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid #b2d9d0;
  }

  .forum-avatar {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 44px;
    height: 44px;
    padding: 2px;
    margin: 0;
  }

  .forum-username, .forum-title {
    grid-column: 2;
    margin: 0;
  }

  .forum-username {
    font-size: 14px;
  }

  .forum-stats {
    display: none;
  }

  .web-buttons {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    width: 24px;
    margin: 0;
    padding: 0;
    border-top: 0;
  }

  .web-buttons img {
    width: 24px;
    max-width: 24px;
    height: auto;
  }

  .forum-main {
    padding: 18px 15px;
  }

  .forum-main p {
    font-size: 14px;
    line-height: 1.75;
  }

  .thought-header {
    gap: 7px;
    padding: 10px;
  }

  .date {
    flex-basis: 100%;
    padding-left: 45px;
  }

  .thought-content {
    padding: 18px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
