/* ═══════════════════════════════════════════════════════════════
   SUNSET COVE — tropical beach portal (youxi--1--5)
   Sky & ocean blues, coral, surfboards, umbrellas, wave bands.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --sky: #BDE8F5;
  --sky-2: #9FDCEF;
  --ocean: #2AA5C9;
  --deep: #167A9C;
  --navy: #0F5A75;
  --sand: #F6E3C0;
  --sand-2: #EDD3A8;
  --coral: #FF7B6B;
  --coral-deep: #E85C4A;
  --palm: #2E8B6A;
  --palm-deep: #1E6B50;
  --sun: #FFC94A;
  --ink: #14424E;
  --ink-soft: #4E7480;
  --round: 'Trebuchet MS', 'Segoe UI', Verdana, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', sans-serif;
  --sec-gap: 36px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  background: linear-gradient(180deg, var(--sky) 0%, #D8F0F7 30%, var(--sand) 70%, var(--sand-2) 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

[v-cloak] { display: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px; }
.sec { margin-top: var(--sec-gap); min-width: 0; }

/* shared title — driftwood bar */
.dtitle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.dtitle-tag {
  font-family: var(--round);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  background: var(--sand);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 4px 18px;
  white-space: nowrap;
}
.dtitle-side {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.dtitle::after {
  content: '';
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--deep) 0 16px, transparent 16px 24px);
  opacity: .4;
}

/* ═══ 1) SKY header ════════════════════════════════════════════════ */
.skybar {
  position: relative;
  z-index: 50;
  background: linear-gradient(180deg, var(--sky-2), var(--sky));
  border-bottom: 2.5px solid var(--deep);
}
.skybar::after {
  content: '';
  display: block;
  height: 9px;
  background: radial-gradient(circle at 9px -3px, var(--deep) 10px, transparent 11px) 0 0 / 22px 9px repeat-x;
  opacity: .85;
}
.skybar-in { display: flex; align-items: center; gap: 10px; padding: 9px 0 12px; }
.skybar-sun {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--sun);
  border: 2.5px solid var(--ink);
  box-shadow: inset -4px -4px 0 rgba(255, 150, 40, .4);
  display: grid;
  place-items: center;
  font-family: var(--round);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.skybar-name {
  font-family: var(--round);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.skybar-search {
  margin-left: auto;
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--coral);
  border: 2.5px solid var(--ink);
  color: #FFF3E8;
  display: grid;
  place-items: center;
}
.skybar-search:active { transform: scale(.9); }

/* ═══ 2) NAV — buoy tabs ═══════════════════════════════════════════ */
.buoys {
  margin-top: 14px;
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 4px 2px 10px;
  scrollbar-width: none;
}
.buoys::-webkit-scrollbar { display: none; }
.buoy {
  flex: none;
  font-family: var(--round);
  font-size: 13px;
  font-weight: 700;
  color: #FFF6EA;
  background: var(--ocean);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  position: relative;
  white-space: nowrap;
}
.buoy::after {
  content: '';
  position: absolute;
  left: 8px; right: 8px; top: 50%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .55);
  border-radius: 2px;
}
.buoy.on { background: var(--coral); }
.buoy.on::after { background: rgba(255, 255, 255, .75); }

/* search — message bottle input */
.dive {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.dive-input {
  flex: 1;
  min-width: 0;
  background: #FDFEFF;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(20, 66, 78, .22);
  font-family: var(--round);
  font-size: 15px;
  padding: 10px 18px;
  outline: none;
}
.dive-input::placeholder { color: var(--ink-soft); }
.dive-go {
  flex: none;
  font-family: var(--round);
  font-size: 14px;
  font-weight: 700;
  color: #FFF6EA;
  background: var(--deep);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  padding: 10px 20px;
}
.dive-go:active { transform: translateY(2px); box-shadow: none; }

/* loading — sun spinner */
.loading-full {
  position: fixed; inset: 0;
  background: var(--sky);
  display: grid; place-items: center;
  z-index: 90;
}
.loading-sun {
  width: 58px; height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px dashed var(--coral);
  animation: sunspin 1.6s linear infinite;
}
@keyframes sunspin { to { transform: rotate(360deg); } }
.loading-txt {
  display: block; text-align: center;
  font-family: var(--round);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
}

/* ═══ 3) SUNSET hero ═══════════════════════════════════════════════ */
.sunset {
  display: block;
  position: relative;
  border-radius: 24px;
  border: 3px solid var(--ink);
  box-shadow: 0 6px 0 rgba(20, 66, 78, .25);
  overflow: hidden;
  background: linear-gradient(180deg, #FFD98A 0%, var(--coral) 55%, var(--deep) 100%);
  padding: 24px 18px 22px;
  text-align: center;
}
.sunset-glow {
  position: absolute;
  top: -46px; left: 50%;
  transform: translateX(-50%);
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 150, .9), rgba(255, 201, 74, .35) 60%, transparent 70%);
}
.sunset-ring {
  position: relative;
  width: 148px; height: 148px;
  margin: 0 auto;
  border-radius: 50%;
  background: #FDFEFF;
  border: 8px solid var(--coral);
  box-shadow: 0 0 0 3px var(--ink), inset 0 -6px 0 rgba(20, 66, 78, .12);
  display: grid;
  place-items: center;
  padding: 10px;
}
.sunset-ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ink);
}
.sunset-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 3px 12px;
}
.sunset-name {
  position: relative;
  margin-top: 14px;
  font-family: var(--round);
  font-size: 24px;
  font-weight: 700;
  color: #FFF6EA;
  text-shadow: 2px 2px 0 rgba(15, 90, 117, .5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sunset-desc {
  position: relative;
  margin-top: 6px;
  font-size: 12.5px;
  color: rgba(255, 246, 234, .92);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 10px;
}
.sunset-cta {
  position: relative;
  display: inline-block;
  margin-top: 13px;
  font-family: var(--round);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  background: var(--sun);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 10px 26px;
}
.sunset-cta:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

/* ═══ 4) SURFBOARD RACK ════════════════════════════════════════════ */
.rack {
  position: relative;
  padding: 16px 4px 0;
}
.boards {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: flex-end;
  padding-bottom: 0;
}
.board {
  flex: none;
  width: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.board:nth-child(odd) { transform: rotate(-4deg); }
.board:nth-child(even) { transform: rotate(3.5deg); }
.board-body {
  width: 64px;
  height: 148px;
  border: 2.5px solid var(--ink);
  border-radius: 50% 50% 46% 46% / 30% 30% 70% 70%;
  background: linear-gradient(180deg, var(--sun) 0 34%, #FDFEFF 34% 42%, var(--ocean) 42% 76%, #FDFEFF 76% 84%, var(--coral) 84% 100%);
  box-shadow: 0 4px 0 rgba(20, 66, 78, .2);
  display: grid;
  place-items: center;
  padding: 10px;
  transition: transform .15s;
}
.board:hover .board-body { transform: translateY(-5px); }
.board-body img {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  object-fit: cover;
  background: #FDFEFF;
}
.board-nm {
  margin-top: 7px;
  font-family: var(--round);
  font-size: 10.5px;
  font-weight: 700;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rack-bar {
  height: 15px;
  background: repeating-linear-gradient(90deg, var(--sand-2) 0 22px, #E2C08C 22px 44px);
  border: 2.5px solid var(--ink);
  border-radius: 10px;
  box-shadow: 0 4px 0 rgba(20, 66, 78, .2);
}

/* ═══ 5) FRUIT CRATES ══════════════════════════════════════════════ */
.crates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.crate {
  background: var(--sand);
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 5px 0 rgba(20, 66, 78, .22);
  padding: 8px 8px 9px;
  min-width: 0;
}
.crate-hd {
  font-family: var(--round);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: #7A5A2E;
  border-bottom: 2px dashed rgba(20, 66, 78, .35);
  padding-bottom: 5px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.crate-row {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.crate-fruit { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; }
.crate-fruit img {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  object-fit: cover;
  background: #FDFEFF;
}
.crate-fruit span {
  font-size: 9.5px;
  font-weight: 700;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 6) UMBRELLA ROW ══════════════════════════════════════════════ */
.umbrellas {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.umb {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.umb-canopy {
  width: 100%;
  max-width: 84px;
  height: 40px;
  border: 2.5px solid var(--ink);
  border-radius: 84px 84px 0 0;
  position: relative;
}
.umb-canopy.u-coral { background: repeating-linear-gradient(90deg, var(--coral) 0 20px, #FFF3E8 20px 40px); }
.umb-canopy.u-ocean { background: repeating-linear-gradient(90deg, var(--ocean) 0 20px, #FFF3E8 20px 40px); }
.umb-canopy.u-palm { background: repeating-linear-gradient(90deg, var(--palm) 0 20px, #FFF3E8 20px 40px); }
.umb-canopy.u-sun { background: repeating-linear-gradient(90deg, var(--sun) 0 20px, #FFF3E8 20px 40px); }
.umb-pole {
  width: 4px;
  height: 10px;
  background: var(--ink);
  border-radius: 2px;
}
.umb-seat {
  margin-top: 4px;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  background: var(--sand);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform .15s;
}
.umb:hover .umb-seat { transform: translateY(-3px); }
.umb-seat img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.umb-nm {
  margin-top: 5px;
  font-family: var(--round);
  font-size: 10.5px;
  font-weight: 700;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 7) WAVE LANE ═════════════════════════════════════════════════ */
.wavelane {
  position: relative;
  background: linear-gradient(180deg, var(--ocean), var(--deep));
  border: 2.5px solid var(--ink);
  border-radius: 20px;
  padding: 20px 0 8px;
  overflow: hidden;
}
.wavelane::before {
  content: '';
  position: absolute;
  top: 6px; left: 0; right: 0;
  height: 10px;
  background: radial-gradient(circle at 10px 10px, transparent 9px, rgba(255, 255, 255, .4) 10px 11.5px, transparent 12.5px) 0 0 / 24px 20px repeat-x;
}
.wave-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 16px 14px;
  margin: 0 -16px;
  scrollbar-width: none;
}
.wave-track::-webkit-scrollbar { display: none; }
.swim {
  flex: none;
  width: 86px;
  background: #FDFEFF;
  border: 2.5px solid var(--ink);
  border-radius: 14px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.swim img {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.swim-nm {
  font-family: var(--round);
  font-size: 10px;
  font-weight: 700;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.swim-lab {
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #FDFEFF;
  background: var(--navy);
  border-radius: 999px;
  padding: 1px 8px;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 8) SHELL ARC ═════════════════════════════════════════════════ */
.shells {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 10px;
}
.shell { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.shell:nth-child(3n + 2) { transform: translateY(14px); }
.shell-card {
  width: 100%;
  background: linear-gradient(180deg, #FFF6EC, var(--sand));
  border: 2.5px solid var(--ink);
  border-radius: 999px 999px 14px 14px;
  padding: 10px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 0 rgba(20, 66, 78, .18);
}
.shell-ridges {
  width: 70%;
  height: 8px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 7px, transparent 7px 13px);
  opacity: .6;
}
.shell-card img {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  object-fit: cover;
}
.shell-nm {
  font-family: var(--round);
  font-size: 10.5px;
  font-weight: 700;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 9) LIFEGUARD TOWER ═══════════════════════════════════════════ */
.tower {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 14px;
  align-items: stretch;
}
.tower-col {
  background: #FDFEFF;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 5px 0 rgba(20, 66, 78, .22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tower-top {
  height: 44px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 18px, #FFF3E8 18px 36px);
  border-bottom: 3px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--round);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.tower-big { padding: 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tower-big img {
  width: 108px;
  height: 108px;
  border-radius: 16px;
  border: 2.5px solid var(--ink);
  object-fit: cover;
}
.tower-big-nm {
  font-family: var(--round);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tower-list {
  background: #FDFEFF;
  border: 3px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 5px 0 rgba(20, 66, 78, .22);
  padding: 6px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.duty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px;
  border-bottom: 2px dashed rgba(20, 66, 78, .28);
  min-width: 0;
}
.duty:last-child { border-bottom: none; }
.duty img {
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.duty-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.duty b {
  font-family: var(--round);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.duty small {
  font-size: 10px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.duty-flag { flex: none; font-size: 13px; }

/* ═══ 10) FISH SCHOOL ══════════════════════════════════════════════ */
.school {
  position: relative;
  background: linear-gradient(180deg, #35B3D6, var(--deep));
  border: 2.5px solid var(--ink);
  border-radius: 22px;
  padding: 18px 14px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 10px;
  overflow: hidden;
}
.school::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 16px;
  background: radial-gradient(circle at 11px 0, var(--sand) 9px, transparent 10px) 0 0 / 26px 16px repeat-x;
  opacity: .5;
}
.fishy {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  background: rgba(253, 254, 255, .94);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px 5px 6px;
  position: relative;
}
.fishy:nth-child(odd) { transform: rotate(-2.5deg); }
.fishy:nth-child(even) { transform: rotate(2deg); }
.fishy::after {
  content: '';
  position: absolute;
  left: -8px; top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right-color: var(--ink);
  border-left: none;
}
.fishy img {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.fishy-body { min-width: 0; display: flex; flex-direction: column; }
.fishy b {
  font-family: var(--round);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fishy small { font-size: 9px; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

/* ═══ 11) COOLER BOX ═══════════════════════════════════════════════ */
.cooler {
  background: var(--ocean);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 6px 0 rgba(20, 66, 78, .25);
  overflow: hidden;
}
.cooler-lid {
  height: 30px;
  background: repeating-linear-gradient(90deg, var(--deep) 0 26px, var(--ocean) 26px 52px);
  border-bottom: 3px solid var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--round);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #EAF8FD;
}
.cooler-body {
  padding: 14px 12px 14px;
  background:
    radial-gradient(rgba(253, 254, 255, .5) 2px, transparent 2.5px),
    linear-gradient(180deg, #7FCBE3, #9ED9EC);
  background-size: 26px 26px, 100% 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cube {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.cube img {
  width: 58px; height: 58px;
  border-radius: 14px;
  border: 2.5px solid var(--ink);
  object-fit: cover;
  background: #FDFEFF;
  box-shadow: 0 3px 0 rgba(20, 66, 78, .25);
  transition: transform .15s;
}
.cube:hover img { transform: translateY(-3px) rotate(-3deg); }
.cube-nm {
  font-family: var(--round);
  font-size: 10px;
  font-weight: 700;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══ 12) TIDE LIST — catalog ══════════════════════════════════════ */
.tides { display: flex; flex-direction: column; gap: 12px; }
.tide {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FDFEFF;
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(20, 66, 78, .2);
  padding: 7px 16px 7px 8px;
  min-width: 0;
}
.tide-thumb {
  width: 54px; height: 54px;
  flex: none;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
  overflow: hidden;
  background: var(--sand);
}
.tide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tide-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.tide-nm {
  font-family: var(--round);
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.tide-desc {
  font-size: 11px;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}
.tide-tag {
  align-self: flex-start;
  font-family: var(--round);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #FFF6EA;
  border-radius: 999px;
  padding: 1.5px 10px;
}
.tt-coral { background: var(--coral); }
.tt-ocean { background: var(--ocean); }
.tt-palm { background: var(--palm); }
.tt-sun { background: var(--sun); color: var(--ink); }
.tt-navy { background: var(--navy); }
.more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.more-btn {
  font-family: var(--round);
  font-size: 14px;
  font-weight: 700;
  color: #FFF6EA;
  background: var(--coral);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--ink);
  padding: 12px 30px;
}
.more-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

/* ═══ 13) filter view ═══════════════════════════════════════════════ */
.filter-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}
.filter-back {
  flex: none;
  font-family: var(--round);
  font-size: 13px;
  font-weight: 700;
  color: #FFF6EA;
  background: var(--deep);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--ink);
  padding: 8px 18px;
}
.filter-title {
  font-family: var(--round);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.filter-cnt {
  margin-left: auto;
  font-family: var(--round);
  font-size: 12px;
  font-weight: 700;
  background: var(--sun);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px 12px;
}
.empty-beach { text-align: center; padding: 48px 20px; }
.empty-beach p { font-size: 42px; margin-bottom: 8px; }
.empty-beach span { font-family: var(--round); color: var(--ink-soft); }

/* ═══ 14) footer ═══════════════════════════════════════════════════ */
.shorefoot {
  margin-top: 48px;
  background: linear-gradient(180deg, var(--deep), var(--navy));
  color: #EAF8FD;
  padding: 30px 0 34px;
  text-align: center;
  position: relative;
}
.shorefoot::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 12px;
  background: radial-gradient(circle at 10px 12px, var(--sand) 10px, transparent 11px) 0 0 / 26px 12px repeat-x;
}
.shorefoot-name {
  font-family: var(--round);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .04em;
}
.shorefoot-links {
  margin-top: 13px;
  display: flex;
  justify-content: center;
  gap: 11px;
  font-size: 12.5px;
}
.shorefoot-links a {
  border: 2px dashed rgba(234, 248, 253, .6);
  border-radius: 999px;
  padding: 5px 16px;
}
.shorefoot-fine {
  margin-top: 13px;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .6;
}

/* misc */
.totop-btn {
  position: fixed;
  right: 16px; bottom: 20px;
  z-index: 60;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--sun);
  border: 2.5px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: grid;
  place-items: center;
}
.totop-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--deep);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loading-sun { animation: none; }
  * { transition: none !important; }
}

@media (max-width: 379px) {
  .boards .board { width: 66px; }
  .board-body { width: 56px; height: 130px; }
  .shells { grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
  .shell:nth-child(3n + 2) { transform: translateY(10px); }
  .tower { grid-template-columns: 1fr; }
  .school { grid-template-columns: repeat(2, 1fr); }
  .fishy-body small { display: none; }
  .cooler-body { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .umbrellas { flex-wrap: wrap; }
  .umb { flex-basis: 46%; }
}
