/* Marine Biology, puzzles 21–30.
   The shell, header slot, game board, buttons and archive use the SAME DOM
   and SAME layout geometry as the standard collection. This file changes
   paint, not width, height, spacing, font sizes or positioning of controls. */

/* Stable shared logo/illustration slot: no extra flex row when the theme changes. */
#gameScreen .brand-slot{position:relative;display:flow-root;flex-shrink:0;min-width:0}
.marine-hero{
 position:absolute;inset:0 0 8px 0;display:flex;align-items:center;
 background:url("./marine-approved-turtle-banner.avif") center/cover no-repeat;
 border-radius:14px;pointer-events:none;overflow:hidden;
 visibility:hidden;opacity:0;
}
body.theme-marine{
 --paper:#125a77;--card:#fffdf6;--ink:#163d52;--sub:#547583;--line:#c5dedf;
 --tile:#deeff1;--selected:#126782;
 /* The exact approved underwater photograph; local and offline-capable. */
 background-color:#0c6180;
 background-image:url("./marine-reference-background.avif");
 background-position:center center;background-size:cover;background-repeat:no-repeat;
}
.theme-marine .sheet{
 background:linear-gradient(180deg,#fffefa 0%,#fffdf5 83%,#fbf7eb 100%);
 border-color:#ffffffeb;
 box-shadow:0 17px 48px #083c5870, inset 0 0 0 1px #cadee075;
}
/* The original image always takes up the same space, including its margins. */
.theme-marine .brandimage{visibility:hidden}
.theme-marine .marine-hero{visibility:visible;opacity:1}
.theme-marine .game-topbar .btn{
 background:#fffef6;border-color:#bdd5d7;color:#19475c;
}
.theme-marine .beta-badge{
 background:#d7edf1;border-color:#b2d5de;color:#13607e;
}
.theme-marine .puzzle-header{border-color:#c5dfe1}
.theme-marine .eyebrow{color:#32758a}
.theme-marine .tile{
 color:#153f55;
 background:linear-gradient(145deg,#e3f1f1,#d9eaee);
 box-shadow:inset 0 1px #fff8,0 2px 5px #15577312;
 text-shadow:0 1px #fff8;
}
/* Plain blue tile faces. No duplicate animal emojis or per-word pictures. */
.theme-marine .tile::before,.theme-marine .tile::after{content:none!important;display:none!important}
.theme-marine .tile.selected{
 background:linear-gradient(145deg,#2787a1,#17667e);color:#fff;
 text-shadow:none;
}
.theme-marine .feedback{color:#16485f}
.theme-marine .mistakes{color:#4f7380}
.theme-marine .dot{background:#197b94}
.theme-marine .dot.gone{background:#d5e3e4}
.theme-marine .btn{background:#fffefa;border-color:#bbd3d6;color:#164a61}
.theme-marine .btn.primary{background:#267f99;border-color:#267f99;color:#fff}
.theme-marine .archive{border-color:#c0dcde}
.theme-marine .archive-title{color:#194b61}
.theme-marine .archive-count{color:#63828e}
.theme-marine .archive-tabs{background:#edf5f3;border-color:#cfe0de}
.theme-marine .archive-tab{color:#467b8b}
.theme-marine .archive-tab.active{background:#1c728b;color:#fff}
.theme-marine .puzzle-chip{background:#fffefb;border-color:#cbdedb}
.theme-marine .puzzle-chip.active{border-color:#2b7791;box-shadow:0 0 0 2px #307e9830}
.theme-marine .four-icon{
 /* Same 22×22px grid box and positioning; only its artwork changes. */
 background:url("./marine-coral.svg") center/contain no-repeat;
 transform:none;
}
.theme-marine .four-icon b{visibility:hidden}
.theme-marine .chip-num{color:#2a6172}
.theme-marine .custom-hint,.theme-marine .custom-hint button{color:#497082}
/* Marine art follows the same compact breakpoints as the existing site. */
