/* The Ocean front door: one compact, touchable menu over the living reef. */
.title-screen.home-open[data-world="ocean"] {
  --home-ink:#0d4350; --home-muted:#2a5962; --focus:#803e30;
  min-height:100%; padding:0; color:var(--home-ink);
  display:flex; flex-direction:column; align-items:stretch;
}
.title-screen.home-open .topbar {
  width:min(100%,480px); margin:0 auto; gap:10px;
  padding:calc(var(--st) + 18px) max(18px,var(--sr)) 8px max(18px,var(--sl));
}
.title-screen.home-open .topbar .tb-right { gap:8px; }
.title-screen.home-open .topbar .icon-btn {
  width:44px; height:44px; color:#0d4350; border:1px solid #fffdf5dd;
  background:#f8fff1a8; box-shadow:inset 0 1px 0 #fffefa80;
}
.title-screen.home-open .home-progress-link {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:44px; padding:8px 14px; border:1px solid #fffdf5dd; border-radius:999px;
  color:#0d4350; background:#f8fff1a8; text-decoration:none;
  font:850 14px/1.2 var(--f-body); box-shadow:inset 0 1px 0 #fffefa80;
}
.title-screen.home-open .home-progress-link .ic { width:20px; height:20px; }
.title-screen.home-open .home-welcome {
  display:flex; flex-direction:column; align-items:stretch; gap:0;
  width:min(calc(100% - 40px),430px); margin:48px auto auto;
  padding:0 0 calc(24px + var(--sb));
}
.title-screen.home-open .home-welcome .hero {
  display:flex; flex:none; flex-direction:column; align-items:center; justify-content:center;
  min-height:0; padding:0; overflow:visible; text-align:center;
}
.title-screen.home-open .home-welcome .wordmark {
  margin:0; font-size:clamp(72px,22vw,100px); line-height:1;
  filter:none; text-shadow:0 2px 0 #eafff58a;
}
.title-screen.home-open .wm,.title-screen.home-open .wi { background:none; color:#0b4350; }
.title-screen.home-open .wm { white-space:nowrap; }
.title-screen.home-open .wdot .face { animation:none; transform:none; }
.title-screen.home-open .wm-wave { width:43%; margin:3px auto 0; }
.title-screen.home-open .wm-wave path { stroke:#d88373; stroke-width:4; animation:none; stroke-dashoffset:0; }
.title-screen.home-open .tagline {
  margin:16px 0 0; color:#174c58; letter-spacing:-.015em;
  font:500 clamp(18px,4.5vw,22px)/1.3 var(--f-display); white-space:nowrap;
}
.title-screen.home-open .home-welcome .title-actions {
  display:flex; flex-direction:column; align-items:stretch; gap:12px;
  width:100%; max-width:none; margin:42px 0 0; padding:0;
}
.title-screen.home-open .title-actions > :where(.btn) {
  width:100%; min-height:60px; margin:0; padding:12px 20px;
  border-radius:999px; text-decoration:none; white-space:normal;
  font:500 25px/1.2 var(--f-display);
}
.title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) {
  position:relative; display:flex; min-height:88px; justify-content:center; align-items:center;
  padding:14px 44px; gap:0; border:2px solid #134c57;
  color:#fffdf2; background:#085361; background-image:linear-gradient(180deg,#0e6270,#085361);
  box-shadow:inset 0 2px 0 #ffffff35,inset 0 -3px 0 #003c4c55,0 5px 15px #0c535b1c;
  text-shadow:none;
}
.title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) > span {
  display:flex; flex-direction:column; gap:6px; flex:1; min-width:0; text-align:center;
}
.title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) b {
  font:600 clamp(22px,6.6vw,32px)/1.08 var(--f-display); letter-spacing:.005em;
}
.title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) small {
  display:block; font:850 12px/1.35 var(--f-body); color:#cae9e5;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) > .ic {
  position:absolute; right:23px; top:50%; transform:translateY(-50%);
  width:24px; height:24px; margin:0;
}
.title-screen.home-open .home-welcome .home-new-game {
  display:flex; justify-content:center; align-items:center; min-height:44px;
  padding:8px 16px; color:#174c58; background:#f6fff06b;
  border:1px solid #eafff59c; border-radius:999px; font:800 12px/1.3 var(--f-body);
}
.title-screen.home-open .home-welcome .home-explore-button {
  display:flex; align-items:center; justify-content:center; gap:12px;
  min-height:62px; color:#0d4350; background:#fffaf0;
  border:1px solid #d3d8c4; box-shadow:inset 0 1px 0 #fff,0 2px 0 #bdc9b75c;
}
.title-screen.home-open .home-welcome .home-explore-button > .ic { display:block; width:25px; height:25px; }
.title-screen.home-open .home-welcome .home-explore-button > span:last-child { display:block; margin-left:auto; font-size:24px; }
.title-screen.home-open .home-welcome .home-explore-button > span:first-of-type { flex:1; text-align:center; }
.title-screen.home-open .home-modes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; width:100%; }
.title-screen.home-open .home-modes .btn {
  display:flex; justify-content:center; align-items:center; gap:8px;
  min-width:0; min-height:54px; padding:10px 12px; border-radius:999px;
  border:1px solid #fffdf5e6; color:#0d4350; background:#edfff5b5; box-shadow:none;
  font:900 13px/1.25 var(--f-body); white-space:normal;
}
.title-screen.home-open .home-modes .btn > span { flex:1; min-width:0; text-align:center; }
.title-screen.home-open .home-modes .btn > .ic { width:23px; height:23px; flex:none; }
.title-screen.home-open .home-modes .btn > .ic:last-child:not(:first-child) { width:13px; height:13px; }
.title-screen.home-open .home-welcome .home-unlock-offer {
  display:flex; align-items:center; gap:13px; min-height:76px; margin:2px 0 0;
  padding:14px 19px; color:#123e49; background:linear-gradient(180deg,#ffc5b5,#ffa999);
  border:2px solid #fff3e4; border-radius:999px;
  box-shadow:inset 0 -3px 0 #d8796744,0 3px 0 #d782695c; text-align:left;
}
.title-screen.home-open .home-welcome .home-unlock-offer > .ic { width:28px; height:28px; color:#a65743; }
.title-screen.home-open .home-welcome .home-unlock-copy { flex:1; min-width:0; }
.title-screen.home-open .home-welcome .home-unlock-copy b { display:block; font:600 23px/1.15 var(--f-display); }
.title-screen.home-open .home-welcome .home-unlock-copy small { display:block; margin-top:5px; color:#174c58; font:750 12px/1.35 var(--f-body); }
.title-screen.home-open .home-welcome .home-unlock-price { flex:none; color:#123e49; font:600 23px/1.2 var(--f-display); white-space:nowrap; }
.title-screen.home-open .home-welcome .home-help {
  align-self:center; display:flex; align-items:center; justify-content:center; gap:11px;
  width:auto; min-width:180px; min-height:48px; margin-top:7px; padding:10px 23px;
  color:#104754; background:#c5f9f39c; border:2px solid #236273;
  border-radius:999px; box-shadow:inset 0 1px 0 #fff8; font:600 18px/1.25 var(--f-display);
}
.title-screen.home-open .home-welcome .home-help .ic { width:24px; height:24px; }
.title-screen.home-open .home-promise { margin:16px 0 0; color:#2d5d66; text-align:center; font:800 13px/1.4 var(--f-body); }
.title-screen.home-open :is(a,button):focus-visible { outline:3px solid #803e30; outline-offset:4px; }
@media (hover:hover) {
  .title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game):hover { background:#074d5b; }
  .title-screen.home-open .home-welcome .home-explore-button:hover { background:#fffdf5; }
  .title-screen.home-open .home-modes .btn:hover { background:#f1fff7e6; }
  .title-screen.home-open .home-welcome .home-unlock-offer:hover { background:#ffc3b1; }
  .title-screen.home-open .home-welcome .home-help:hover { background:#d8fff8cf; }
}
@media (min-width:801px) {
  .title-screen.home-open .topbar { padding-top:calc(var(--st) + 24px); }
  .title-screen.home-open .home-welcome { margin-top:30px; }
  .title-screen.home-open .home-welcome .wordmark { font-size:100px; }
  .title-screen.home-open .home-welcome .title-actions { margin-top:32px; }
}
/* Use spacing and type to fit small screens; never shrink touch targets. */
@media (max-width:800px) and (max-height:720px) {
  .title-screen.home-open .topbar { padding-top:calc(var(--st) + 12px); }
  .title-screen.home-open .home-welcome { margin-top:20px; padding-bottom:calc(18px + var(--sb)); }
  .title-screen.home-open .home-welcome .wordmark { font-size:76px; }
  .title-screen.home-open .tagline { margin-top:10px; font-size:18px; }
  .title-screen.home-open .home-welcome .title-actions { margin-top:24px; gap:10px; }
  .title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) { min-height:82px; }
  .title-screen.home-open .home-welcome .home-explore-button { min-height:56px; font-size:23px; }
  .title-screen.home-open .home-modes .btn { min-height:50px; }
  .title-screen.home-open .home-welcome .home-unlock-offer { min-height:68px; padding-block:12px; }
  .title-screen.home-open .home-welcome .home-help { min-height:46px; margin-top:5px; }
  .title-screen.home-open .home-promise { margin-top:11px; font-size:12px; }
}
@media (max-width:360px) {
  .title-screen.home-open .home-welcome { width:calc(100% - 32px); }
  .title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) { padding-inline:34px; }
  .title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) b { font-size:22px; }
  .title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) small { font-size:10px; }
  .title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) > .ic { right:17px; width:20px; height:20px; }
  .title-screen.home-open .home-modes { gap:8px; }
  .title-screen.home-open .home-modes .btn { gap:5px; padding-inline:8px; font-size:12px; }
  .title-screen.home-open .home-modes .btn > .ic { width:19px; height:19px; }
  .title-screen.home-open .home-modes .btn > .ic:last-child:not(:first-child) { width:11px; height:11px; }
  .title-screen.home-open .home-welcome .home-unlock-offer { gap:9px; padding-inline:12px; }
  .title-screen.home-open .home-welcome .home-unlock-offer > .ic { width:24px; height:24px; }
  .title-screen.home-open .home-welcome .home-unlock-copy b { font-size:19px; }
  .title-screen.home-open .home-welcome .home-unlock-copy small { font-size:10px; }
  .title-screen.home-open .home-welcome .home-unlock-price { font-size:19px; }
}
@media (max-width:800px) and (max-height:600px) {
  .title-screen.home-open .topbar { padding-top:calc(var(--st) + 10px); }
  .title-screen.home-open .home-welcome { margin-top:8px; padding-bottom:calc(12px + var(--sb)); }
  .title-screen.home-open .home-welcome .wordmark { font-size:70px; }
  .title-screen.home-open .tagline { margin-top:8px; font-size:17px; }
  .title-screen.home-open .home-welcome .title-actions { margin-top:12px; gap:8px; }
  .title-screen.home-open .home-welcome :is(.ocean-start.btn-primary,.continue-game) { min-height:74px; padding-block:11px; }
  .title-screen.home-open .home-welcome .home-explore-button { min-height:50px; font-size:21px; }
  .title-screen.home-open .home-modes .btn { min-height:48px; padding-block:8px; }
  .title-screen.home-open .home-welcome .home-unlock-offer { min-height:62px; padding-block:10px; }
  .title-screen.home-open .home-welcome .home-help { min-height:44px; margin-top:3px; padding-block:8px; font-size:17px; }
  .title-screen.home-open .home-promise { margin-top:8px; font-size:11px; }
}
