1671 lines
27 KiB
CSS
1671 lines
27 KiB
CSS
:root {
|
|
--ink: #244e48;
|
|
--muted: #71847b;
|
|
--paper: #f8f7ef;
|
|
--line: #dce2d5;
|
|
--lime: #b2d660;
|
|
--dark: #29564d;
|
|
--water: #a3d9c4;
|
|
--cream: #fffcf3;
|
|
--shadow: #143d3120;
|
|
color-scheme: light;
|
|
}
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
background: #eff1e6;
|
|
color: var(--ink);
|
|
font-family: "DM Sans", sans-serif;
|
|
font-size: 14px;
|
|
}
|
|
button {
|
|
font: inherit;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
border: 0;
|
|
background: none;
|
|
}
|
|
button:disabled {
|
|
cursor: default;
|
|
opacity: 0.42;
|
|
}
|
|
button:focus-visible,
|
|
a:focus-visible {
|
|
outline: 3px solid #4479b9;
|
|
outline-offset: 4px;
|
|
}
|
|
button:not(:disabled) {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
svg {
|
|
display: block;
|
|
}
|
|
i {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-style: normal;
|
|
}
|
|
i svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
button {
|
|
transition:
|
|
background 0.15s,
|
|
transform 0.15s,
|
|
box-shadow 0.15s;
|
|
}
|
|
button:active:not(:disabled) {
|
|
transform: translateY(2px);
|
|
}
|
|
.game-shell {
|
|
max-width: 1760px;
|
|
min-height: 100dvh;
|
|
margin: auto;
|
|
padding: 0 36px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: radial-gradient(ellipse at 30% 60%, #dfecdd66, transparent 70%);
|
|
}
|
|
.topbar {
|
|
height: 91px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid var(--line);
|
|
gap: 24px;
|
|
}
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
.brand > span {
|
|
width: 52px;
|
|
height: 52px;
|
|
}
|
|
.brand h1 {
|
|
font-family: "Soup Display", sans-serif;
|
|
font-size: 32px;
|
|
letter-spacing: -0.8px;
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
margin: 0;
|
|
}
|
|
.title-dot {
|
|
color: #e49359;
|
|
}
|
|
.byline {
|
|
font-size: 8px;
|
|
letter-spacing: 2.1px;
|
|
display: block;
|
|
margin-top: 7px;
|
|
opacity: 0.65;
|
|
}
|
|
.game-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
color: #77867a;
|
|
font-size: 12px;
|
|
margin-left: auto;
|
|
margin-right: 30px;
|
|
}
|
|
.live-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
background: #7fac63;
|
|
border-radius: 50%;
|
|
}
|
|
.prototype-tag {
|
|
font-size: 10px;
|
|
border: 1px solid #ced6c5;
|
|
border-radius: 5px;
|
|
padding: 3px 7px;
|
|
margin-left: 6px;
|
|
}
|
|
.utilities {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
.icon-button {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 35px;
|
|
height: 35px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 50%;
|
|
background: #fff7;
|
|
}
|
|
.icon-button:hover {
|
|
background: #e2e9db;
|
|
}
|
|
.players {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
padding: 20px 0 19px;
|
|
gap: 18px;
|
|
}
|
|
.player {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 9px 15px;
|
|
border: 1px solid transparent;
|
|
border-radius: 13px;
|
|
min-width: 0;
|
|
}
|
|
.player.active {
|
|
background: #fbfcf1;
|
|
border-color: #b5c78d;
|
|
box-shadow: 0 3px 0 #dde5cc;
|
|
}
|
|
.player-portrait {
|
|
width: 45px;
|
|
flex: none;
|
|
}
|
|
.player-info {
|
|
min-width: 0;
|
|
flex: 1;
|
|
}
|
|
.player-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
.you-tag {
|
|
font-size: 9px;
|
|
font-weight: 500;
|
|
background: #deedc6;
|
|
border-radius: 4px;
|
|
padding: 2px 5px;
|
|
}
|
|
.player-stat {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
margin-top: 4px;
|
|
}
|
|
.player-score {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-family: "Soup Display";
|
|
font-size: 26px;
|
|
}
|
|
.player-score svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
color: #94a38c;
|
|
}
|
|
.player-color {
|
|
position: absolute;
|
|
left: 2px;
|
|
width: 3px;
|
|
height: 26px;
|
|
border-radius: 2px;
|
|
background: var(--player);
|
|
}
|
|
.play-area {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 285px;
|
|
gap: 32px;
|
|
flex: 1;
|
|
min-height: 0;
|
|
align-items: start;
|
|
}
|
|
.pond-section {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.pond-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 9px 4px 5px;
|
|
gap: 10px;
|
|
}
|
|
.eyebrow {
|
|
font-size: 10px;
|
|
letter-spacing: 2px;
|
|
font-weight: 700;
|
|
}
|
|
.pond-subtitle {
|
|
display: block;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
margin-top: 5px;
|
|
}
|
|
.quiet-button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-size: 11px;
|
|
color: #6a8173;
|
|
white-space: nowrap;
|
|
}
|
|
.quiet-button:hover {
|
|
color: var(--ink);
|
|
}
|
|
.quiet-button i svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
}
|
|
.quiet-button[aria-pressed="false"] {
|
|
opacity: 0.5;
|
|
}
|
|
.board-wrap {
|
|
position: relative;
|
|
display: flex;
|
|
justify-content: center;
|
|
flex: 1;
|
|
min-height: 0;
|
|
}
|
|
.board {
|
|
width: 100%;
|
|
max-width: 1035px;
|
|
aspect-ratio: 900/650;
|
|
position: relative;
|
|
margin-top: 0;
|
|
isolation: isolate;
|
|
}
|
|
#pond-art {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
filter: drop-shadow(0 12px 6px #4767470b);
|
|
}
|
|
.cells {
|
|
position: absolute;
|
|
inset: 8.46% 6.66% 10.76%;
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 1fr);
|
|
grid-template-rows: repeat(5, 1fr);
|
|
}
|
|
.water-cell {
|
|
position: relative;
|
|
border-radius: 25%;
|
|
outline: none;
|
|
transition:
|
|
background 0.2s,
|
|
box-shadow 0.2s;
|
|
z-index: 1;
|
|
}
|
|
.water-cell.valid {
|
|
box-shadow: inset 0 0 0 2px #f9ffe099;
|
|
background: #e4f5b933;
|
|
cursor: pointer;
|
|
}
|
|
.water-cell.valid:after {
|
|
content: "+";
|
|
font-size: 25px;
|
|
color: #376b4c;
|
|
background: #ffffe8b3;
|
|
position: absolute;
|
|
left: calc(50% - 14px);
|
|
top: calc(50% - 14px);
|
|
width: 28px;
|
|
height: 28px;
|
|
line-height: 27px;
|
|
border-radius: 50%;
|
|
border: 1px solid #68947066;
|
|
}
|
|
.water-cell.valid:hover {
|
|
background: #edfbb877;
|
|
box-shadow: inset 0 0 0 3px #ffffde;
|
|
}
|
|
.cell-coord {
|
|
position: absolute;
|
|
left: 9%;
|
|
top: 7%;
|
|
font-size: 9px;
|
|
color: #537f755c;
|
|
pointer-events: none;
|
|
transition: opacity 0.2s;
|
|
}
|
|
.no-grid .cell-coord {
|
|
opacity: 0;
|
|
}
|
|
.no-grid .grid-lines {
|
|
opacity: 0.13;
|
|
}
|
|
.nutrients {
|
|
position: absolute;
|
|
bottom: 14%;
|
|
left: 15%;
|
|
right: 15%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 5%;
|
|
height: 15%;
|
|
pointer-events: none;
|
|
}
|
|
.food {
|
|
display: inline-block;
|
|
width: 12px;
|
|
height: 12px;
|
|
flex-shrink: 0;
|
|
background: var(--food);
|
|
border: 1.4px solid var(--food-border);
|
|
border-radius: 3px;
|
|
box-shadow:
|
|
inset 0 2px #fff7,
|
|
0 2px 0 #446a5920;
|
|
transform: rotate(-9deg);
|
|
}
|
|
.food:nth-child(even) {
|
|
transform: rotate(16deg) translateY(3px);
|
|
}
|
|
.food.green {
|
|
--food: #b1d85e;
|
|
--food-border: #6d983a;
|
|
}
|
|
.food.red {
|
|
--food: #ed9785;
|
|
--food-border: #b66354;
|
|
}
|
|
.food.blue {
|
|
--food: #8cbad6;
|
|
--food-border: #588fac;
|
|
}
|
|
.food.yellow {
|
|
--food: #f4cf6c;
|
|
--food-border: #bb973f;
|
|
}
|
|
.organisms {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
}
|
|
.amoeba-button {
|
|
position: absolute;
|
|
width: 10.2%;
|
|
height: 13%;
|
|
padding: 0;
|
|
pointer-events: auto;
|
|
transform: translate(-50%, -50%);
|
|
transition:
|
|
left 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
|
|
top 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
|
|
filter 0.2s;
|
|
z-index: 3;
|
|
filter: drop-shadow(0 4px 0 #336b6630);
|
|
border-radius: 50%;
|
|
}
|
|
.amoeba-button:active:not(:disabled) {
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.amoeba-button > svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: visible;
|
|
animation: bob 3.8s ease-in-out infinite;
|
|
animation-delay: var(--delay);
|
|
}
|
|
.amoeba-button:hover > svg {
|
|
filter: brightness(1.07);
|
|
}
|
|
.amoeba-button.selected:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: -7%;
|
|
top: 10%;
|
|
width: 114%;
|
|
height: 92%;
|
|
border: 2px dashed #fdfceb;
|
|
border-radius: 50%;
|
|
transform: rotate(-10deg);
|
|
box-shadow: 0 0 0 5px #fbfeda17;
|
|
}
|
|
.amoeba-button.selected:after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 43%;
|
|
top: -3px;
|
|
border: 6px solid transparent;
|
|
border-top-color: var(--cream);
|
|
filter: drop-shadow(0 1px 0 #558766);
|
|
}
|
|
.amoeba-number {
|
|
position: absolute;
|
|
bottom: 3%;
|
|
right: 7%;
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
min-width: 18px;
|
|
height: 18px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 50%;
|
|
background: var(--cream);
|
|
border: 1px solid #699968;
|
|
color: var(--dark);
|
|
}
|
|
.amoeba-button.done {
|
|
opacity: 0.73;
|
|
}
|
|
.amoeba-button.done .amoeba-number {
|
|
background: #426d56;
|
|
color: #faffdd;
|
|
}
|
|
.amoeba-button .eyes {
|
|
animation: blink 8s infinite;
|
|
transform-origin: center;
|
|
transform-box: fill-box;
|
|
animation-delay: var(--delay);
|
|
}
|
|
@keyframes bob {
|
|
0%,
|
|
100% {
|
|
transform: translateY(0) rotate(-3deg);
|
|
}
|
|
50% {
|
|
transform: translateY(-4px) rotate(3deg);
|
|
}
|
|
}
|
|
@keyframes blink {
|
|
0%,
|
|
45%,
|
|
49%,
|
|
100% {
|
|
transform: scaleY(1);
|
|
}
|
|
47% {
|
|
transform: scaleY(0.08);
|
|
}
|
|
}
|
|
.pond-bubble {
|
|
animation: water-shimmer 5s ease-in-out infinite;
|
|
animation-delay: var(--delay);
|
|
}
|
|
@keyframes water-shimmer {
|
|
0%,
|
|
100% {
|
|
opacity: 0.22;
|
|
}
|
|
50% {
|
|
opacity: 0.6;
|
|
}
|
|
}
|
|
.current-compass {
|
|
position: absolute;
|
|
left: 41.32%;
|
|
top: 42%;
|
|
width: 17.36%;
|
|
height: 14%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
color: #759886;
|
|
pointer-events: none;
|
|
}
|
|
.current-compass > span {
|
|
font-size: 8px;
|
|
font-weight: 700;
|
|
letter-spacing: 2.1px;
|
|
}
|
|
.current-compass > div {
|
|
font-family: sans-serif;
|
|
font-size: 35px;
|
|
line-height: 38px;
|
|
color: #477766;
|
|
transition: transform 0.4s;
|
|
}
|
|
.current-compass > b {
|
|
font-size: 8px;
|
|
letter-spacing: 2px;
|
|
}
|
|
.current-compass small {
|
|
font-size: 8px;
|
|
white-space: nowrap;
|
|
margin-top: 7px;
|
|
opacity: 0.9;
|
|
}
|
|
.current-compass small strong {
|
|
background: #d4e1bc;
|
|
border-radius: 3px;
|
|
padding: 1px 4px;
|
|
}
|
|
.pond-bottom {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 10px 12px;
|
|
margin-top: -6px;
|
|
gap: 10px;
|
|
}
|
|
.pond-bottom > span {
|
|
font-size: 10px;
|
|
color: #7c8b79;
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
.mini-ring {
|
|
width: 12px;
|
|
height: 12px;
|
|
border: 1px dashed #87a775;
|
|
border-radius: 50%;
|
|
}
|
|
.pond-bottom button > span {
|
|
background: #dbe5d2;
|
|
border-radius: 4px;
|
|
padding: 2px 5px;
|
|
}
|
|
.board-toast {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 6%;
|
|
transform: translate(-50%, 10px);
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
background: #ffffeff5;
|
|
color: var(--dark);
|
|
padding: 10px 18px;
|
|
border-radius: 50px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
box-shadow: 0 5px 20px #2e6b4d22;
|
|
z-index: 7;
|
|
transition:
|
|
opacity 0.25s,
|
|
transform 0.25s;
|
|
white-space: nowrap;
|
|
}
|
|
.board-toast.show {
|
|
opacity: 1;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
.colony-panel {
|
|
padding: 16px 0 0 25px;
|
|
border-left: 1px solid var(--line);
|
|
align-self: stretch;
|
|
}
|
|
.colony-heading {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.colony-heading .eyebrow {
|
|
font-size: 9px;
|
|
letter-spacing: 1.6px;
|
|
}
|
|
.colony-heading h2 {
|
|
font-family: "Soup Display";
|
|
font-size: 27px;
|
|
font-weight: 400;
|
|
margin: 6px 0 0;
|
|
}
|
|
.bio-balance {
|
|
display: grid;
|
|
grid-template-columns: 18px auto;
|
|
column-gap: 4px;
|
|
align-items: center;
|
|
color: #678044;
|
|
}
|
|
.bio-balance i {
|
|
grid-row: span 2;
|
|
}
|
|
.bio-balance i svg {
|
|
width: 21px;
|
|
height: 27px;
|
|
}
|
|
.bio-balance strong {
|
|
font-size: 25px;
|
|
line-height: 1;
|
|
font-weight: 600;
|
|
}
|
|
.bio-balance span {
|
|
font-size: 9px;
|
|
letter-spacing: 1px;
|
|
}
|
|
.specimen {
|
|
position: relative;
|
|
height: 159px;
|
|
display: grid;
|
|
place-items: center;
|
|
margin: 9px 0 0;
|
|
}
|
|
.specimen-orbit {
|
|
position: absolute;
|
|
inset: 18px 16% 8px;
|
|
border: 1px dashed #c4d4b5;
|
|
border-radius: 50%;
|
|
background: radial-gradient(ellipse, #e1eccbb3, transparent 70%);
|
|
}
|
|
#selected-portrait {
|
|
width: 145px;
|
|
transform: rotate(-5deg);
|
|
animation: bob 5s infinite;
|
|
}
|
|
#selected-portrait svg {
|
|
width: 100%;
|
|
}
|
|
.specimen-coord {
|
|
position: absolute;
|
|
left: 14%;
|
|
bottom: 20px;
|
|
font-size: 10px;
|
|
border: 1px solid #b8c9a9;
|
|
border-radius: 5px;
|
|
padding: 3px 6px;
|
|
background: #f7f9ee;
|
|
}
|
|
.specimen-sticker {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 22px;
|
|
font-size: 10px;
|
|
font-style: italic;
|
|
transform: rotate(10deg);
|
|
color: #91a079;
|
|
}
|
|
.specimen-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 7px;
|
|
}
|
|
.specimen-heading h3 {
|
|
font-size: 14px;
|
|
margin: 6px 0;
|
|
}
|
|
.health {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
font-size: 9px;
|
|
color: #71965b;
|
|
}
|
|
.health i svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
fill: #a7c88b;
|
|
}
|
|
.health.hurt {
|
|
color: #b87555;
|
|
}
|
|
.diet {
|
|
display: flex;
|
|
gap: 7px;
|
|
align-items: center;
|
|
margin-top: 15px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #dce4d2;
|
|
border-radius: 9px;
|
|
background: #fafff14d;
|
|
font-size: 11px;
|
|
}
|
|
.diet > div {
|
|
display: flex;
|
|
gap: 9px;
|
|
margin-left: auto;
|
|
}
|
|
.tiny-help {
|
|
border: 1px solid #cad3bf;
|
|
border-radius: 50%;
|
|
font-size: 10px;
|
|
width: 16px;
|
|
height: 16px;
|
|
line-height: 12px;
|
|
padding: 0;
|
|
margin-left: 8px;
|
|
}
|
|
.gene-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 26px;
|
|
margin-bottom: 11px;
|
|
}
|
|
.gene-heading h3 {
|
|
margin: 0;
|
|
font-size: 13px;
|
|
}
|
|
.gene-heading h3 > span {
|
|
display: inline-block;
|
|
background: #e2e8d8;
|
|
padding: 1px 5px;
|
|
border-radius: 4px;
|
|
font-size: 10px;
|
|
margin-left: 5px;
|
|
}
|
|
.text-button {
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
color: #60834d;
|
|
padding: 3px;
|
|
}
|
|
.text-button > span {
|
|
margin-left: 5px;
|
|
}
|
|
.text-button:hover {
|
|
text-decoration: underline;
|
|
}
|
|
.gene-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
}
|
|
.gene {
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: left;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
background: #fffcf2;
|
|
border: 1px solid #d6dcca;
|
|
border-radius: 10px;
|
|
box-shadow: 0 3px 0 #e2e6d7;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.gene:hover {
|
|
background: #fffef8;
|
|
box-shadow: 0 4px 0 #d9e0cb;
|
|
transform: translateY(-1px);
|
|
}
|
|
.gene-art {
|
|
width: 46px;
|
|
height: 46px;
|
|
flex: none;
|
|
background: #edf0da;
|
|
border-radius: 50%;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
.gene-art svg {
|
|
width: 43px;
|
|
height: 43px;
|
|
}
|
|
.gene-text {
|
|
flex: 1;
|
|
}
|
|
.gene strong {
|
|
display: block;
|
|
font-size: 12px;
|
|
}
|
|
.gene p {
|
|
margin: 3px 0 0;
|
|
font-size: 10px;
|
|
line-height: 1.4;
|
|
color: #87927c;
|
|
}
|
|
.gene-sensitivity {
|
|
align-self: start;
|
|
font-size: 8px;
|
|
color: #8d9a7e;
|
|
display: flex;
|
|
gap: 2px;
|
|
align-items: center;
|
|
}
|
|
.gene-sensitivity i svg {
|
|
width: 11px;
|
|
height: 11px;
|
|
}
|
|
.colony-footnote {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 10px;
|
|
line-height: 1.5;
|
|
color: #99a389;
|
|
margin-top: 20px;
|
|
max-width: 220px;
|
|
}
|
|
.colony-footnote i svg {
|
|
width: 17px;
|
|
height: 17px;
|
|
}
|
|
.turnbar {
|
|
margin-top: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 23px;
|
|
padding: 18px 24px;
|
|
background: #fbfaf1;
|
|
border: 1px solid #d8dfcc;
|
|
border-radius: 14px;
|
|
box-shadow: 0 5px 0 #dde4d1;
|
|
min-height: 91px;
|
|
}
|
|
.round {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-right: 21px;
|
|
border-right: 1px solid var(--line);
|
|
}
|
|
.round > span {
|
|
font-size: 8px;
|
|
letter-spacing: 1.8px;
|
|
writing-mode: vertical-rl;
|
|
transform: rotate(180deg);
|
|
}
|
|
.round > strong {
|
|
font-family: "Soup Display";
|
|
font-size: 36px;
|
|
font-weight: 400;
|
|
}
|
|
.turn-details {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.phase-label {
|
|
font-size: 11px;
|
|
color: #779163;
|
|
}
|
|
.phase-label > span {
|
|
color: #b5bea7;
|
|
}
|
|
.phase-label > b {
|
|
font-size: 13px;
|
|
margin-left: 9px;
|
|
color: var(--ink);
|
|
}
|
|
#phase-instruction {
|
|
font-size: 11px;
|
|
color: #84917a;
|
|
margin-top: 5px;
|
|
}
|
|
.phase-dots {
|
|
display: flex;
|
|
gap: 4px;
|
|
margin-top: 8px;
|
|
}
|
|
.phase-dots > span {
|
|
height: 3px;
|
|
width: 19px;
|
|
border-radius: 5px;
|
|
background: #e2e7d7;
|
|
}
|
|
.phase-dots > span.active {
|
|
background: #8bad63;
|
|
}
|
|
.action-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
}
|
|
.action {
|
|
display: flex;
|
|
gap: 8px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 8px;
|
|
padding: 11px 16px;
|
|
min-height: 42px;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
border: 1px solid #c7d0b9;
|
|
background: #f7f8ed;
|
|
white-space: nowrap;
|
|
box-shadow: 0 2px 0 #e1e6d6;
|
|
}
|
|
.action i svg {
|
|
width: 17px;
|
|
height: 17px;
|
|
}
|
|
.action.primary {
|
|
background: #365e49;
|
|
color: #fffdea;
|
|
border-color: #365e49;
|
|
box-shadow: 0 3px 0 #214537;
|
|
}
|
|
.action.primary:hover {
|
|
background: #426f55;
|
|
}
|
|
.action.secondary:hover {
|
|
background: #e5eed7;
|
|
}
|
|
.action.active {
|
|
background: #dcebbe;
|
|
border-color: #82a461;
|
|
}
|
|
.cost {
|
|
font-size: 9px;
|
|
opacity: 0.7;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
}
|
|
.cost i svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
.next-phase {
|
|
width: 34px;
|
|
height: 40px;
|
|
display: grid;
|
|
place-items: center;
|
|
color: #7d9271;
|
|
border-radius: 6px;
|
|
}
|
|
.next-phase:hover {
|
|
background: #e4ebd8;
|
|
}
|
|
.demo-footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
font-size: 9px;
|
|
color: #9ca58d;
|
|
padding: 13px 8px 9px;
|
|
letter-spacing: 0.2px;
|
|
}
|
|
.demo-footer button {
|
|
font-size: 9px;
|
|
text-decoration: underline;
|
|
padding: 0;
|
|
color: #899980;
|
|
}
|
|
dialog {
|
|
border: 1px solid #c9d4bc;
|
|
border-radius: 20px;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
padding: 33px;
|
|
max-width: 720px;
|
|
width: calc(100% - 36px);
|
|
box-shadow: 0 20px 80px #153c4444;
|
|
}
|
|
dialog::backdrop {
|
|
background: #18433965;
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
.close-modal {
|
|
position: absolute;
|
|
right: 15px;
|
|
top: 15px;
|
|
font-size: 23px;
|
|
}
|
|
dialog h2 {
|
|
font: 32px "Soup Display";
|
|
margin: 5px 0 12px;
|
|
}
|
|
dialog p {
|
|
line-height: 1.65;
|
|
color: #6d8273;
|
|
font-size: 13px;
|
|
}
|
|
dialog .eyebrow {
|
|
color: #8ba171;
|
|
}
|
|
dialog .modal-intro {
|
|
max-width: 530px;
|
|
margin-bottom: 24px;
|
|
}
|
|
.shop-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 14px;
|
|
}
|
|
.shop-card {
|
|
background: #fffcf3;
|
|
border: 1px solid #d4ddc9;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.shop-art {
|
|
height: 115px;
|
|
background: #e6edcf;
|
|
display: grid;
|
|
place-items: center;
|
|
border-bottom: 1px solid #d4ddc9;
|
|
}
|
|
.shop-art > svg {
|
|
width: 95px;
|
|
height: 95px;
|
|
}
|
|
.shop-body {
|
|
padding: 14px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.shop-body h3 {
|
|
margin: 0;
|
|
font-size: 15px;
|
|
}
|
|
.shop-body p {
|
|
font-size: 11px;
|
|
margin: 8px 0 14px;
|
|
flex: 1;
|
|
}
|
|
.shop-body .action {
|
|
width: 100%;
|
|
padding: 9px;
|
|
}
|
|
.shop-body .sensitivity {
|
|
font-size: 10px;
|
|
color: #94a086;
|
|
margin-bottom: 12px;
|
|
}
|
|
.help-steps {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 15px;
|
|
}
|
|
.help-steps section {
|
|
border: 1px solid #d9e1cf;
|
|
border-radius: 10px;
|
|
padding: 15px;
|
|
}
|
|
.help-steps h3 {
|
|
font-size: 13px;
|
|
margin: 0;
|
|
}
|
|
.help-steps p {
|
|
font-size: 12px;
|
|
margin: 6px 0 0;
|
|
}
|
|
.journal-list {
|
|
max-height: 380px;
|
|
overflow: auto;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
.journal-list li {
|
|
font-size: 12px;
|
|
border-bottom: 1px solid #dfe5d7;
|
|
padding: 12px 0;
|
|
display: flex;
|
|
gap: 16px;
|
|
line-height: 1.6;
|
|
}
|
|
.journal-list small {
|
|
font-size: 10px;
|
|
color: #94a187;
|
|
white-space: nowrap;
|
|
}
|
|
.modal-bottom {
|
|
margin-top: 22px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
.gene-explainer-art {
|
|
width: 115px;
|
|
float: right;
|
|
margin: 10px 20px;
|
|
}
|
|
.reduce-motion *,
|
|
.reduce-motion *:before,
|
|
.reduce-motion *:after {
|
|
animation: none !important;
|
|
transition: none !important;
|
|
}
|
|
@media (min-width: 1450px) {
|
|
.game-shell {
|
|
padding: 0 48px;
|
|
}
|
|
.play-area {
|
|
grid-template-columns: minmax(0, 1fr) 305px;
|
|
gap: 42px;
|
|
}
|
|
.colony-panel {
|
|
padding-left: 32px;
|
|
}
|
|
.specimen {
|
|
height: 195px;
|
|
}
|
|
#selected-portrait {
|
|
width: 175px;
|
|
}
|
|
.gene {
|
|
padding: 15px;
|
|
}
|
|
.gene-heading {
|
|
margin-top: 35px;
|
|
}
|
|
.colony-heading h2 {
|
|
font-size: 31px;
|
|
}
|
|
.specimen-heading h3 {
|
|
font-size: 16px;
|
|
}
|
|
.health {
|
|
font-size: 11px;
|
|
}
|
|
.diet {
|
|
padding: 13px;
|
|
}
|
|
.gene strong {
|
|
font-size: 14px;
|
|
}
|
|
.gene p {
|
|
font-size: 11px;
|
|
}
|
|
}
|
|
@media (min-width: 1000px) and (max-height: 850px) {
|
|
.game-shell {
|
|
padding: 0 25px;
|
|
}
|
|
.topbar {
|
|
height: 72px;
|
|
}
|
|
.players {
|
|
padding: 13px 0 11px;
|
|
}
|
|
.player {
|
|
padding: 6px 12px;
|
|
}
|
|
.board {
|
|
max-height: calc(100dvh - 307px);
|
|
width: auto;
|
|
min-height: 340px;
|
|
}
|
|
.board-wrap {
|
|
width: 100%;
|
|
}
|
|
.play-area {
|
|
grid-template-columns: minmax(0, 1fr) 260px;
|
|
gap: 20px;
|
|
}
|
|
.colony-panel {
|
|
padding: 10px 0 0 20px;
|
|
}
|
|
.specimen {
|
|
height: 125px;
|
|
}
|
|
#selected-portrait {
|
|
width: 125px;
|
|
}
|
|
.gene-heading {
|
|
margin-top: 18px;
|
|
}
|
|
.gene {
|
|
padding: 8px 10px;
|
|
gap: 9px;
|
|
}
|
|
.gene-art {
|
|
width: 39px;
|
|
height: 39px;
|
|
}
|
|
.gene-art svg {
|
|
width: 37px;
|
|
height: 37px;
|
|
}
|
|
.colony-footnote {
|
|
display: none;
|
|
}
|
|
.turnbar {
|
|
min-height: 80px;
|
|
padding: 13px 18px;
|
|
}
|
|
.pond-toolbar {
|
|
padding-top: 5px;
|
|
}
|
|
.pond-bottom {
|
|
padding-bottom: 3px;
|
|
}
|
|
.colony-heading h2 {
|
|
font-size: 25px;
|
|
}
|
|
}
|
|
@media (max-width: 1050px) {
|
|
.game-title {
|
|
display: none;
|
|
}
|
|
.game-shell {
|
|
padding: 0 20px;
|
|
}
|
|
.players {
|
|
gap: 5px;
|
|
}
|
|
.player {
|
|
padding: 8px;
|
|
}
|
|
.player-name {
|
|
font-size: 12px;
|
|
}
|
|
.player-portrait {
|
|
width: 36px;
|
|
}
|
|
.player-score {
|
|
font-size: 23px;
|
|
}
|
|
.player-score svg {
|
|
display: none;
|
|
}
|
|
.play-area {
|
|
gap: 20px;
|
|
grid-template-columns: minmax(0, 1fr) 235px;
|
|
}
|
|
.colony-panel {
|
|
padding-left: 18px;
|
|
}
|
|
.health {
|
|
font-size: 8px;
|
|
}
|
|
.action {
|
|
padding: 11px 12px;
|
|
}
|
|
.turnbar {
|
|
gap: 14px;
|
|
padding: 14px;
|
|
}
|
|
.phase-label > b {
|
|
font-size: 12px;
|
|
}
|
|
.round {
|
|
padding-right: 15px;
|
|
}
|
|
.pond-subtitle {
|
|
font-size: 10px;
|
|
}
|
|
.pond-bottom > span {
|
|
font-size: 9px;
|
|
}
|
|
.colony-footnote {
|
|
display: none;
|
|
}
|
|
}
|
|
@media (max-width: 760px) {
|
|
.game-shell {
|
|
padding: 0 14px;
|
|
}
|
|
.topbar {
|
|
height: 77px;
|
|
gap: 8px;
|
|
}
|
|
.brand h1 {
|
|
font-size: 25px;
|
|
}
|
|
.brand > span {
|
|
width: 40px;
|
|
}
|
|
.byline {
|
|
font-size: 6px;
|
|
letter-spacing: 1.7px;
|
|
}
|
|
.utilities {
|
|
gap: 5px;
|
|
}
|
|
.icon-button {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
.players {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 4px;
|
|
padding: 14px 0;
|
|
}
|
|
.player {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 4px;
|
|
padding: 8px 7px;
|
|
}
|
|
.player-portrait {
|
|
width: 34px;
|
|
grid-column: 1;
|
|
}
|
|
.player-info {
|
|
grid-column: span 2;
|
|
}
|
|
.player-name {
|
|
font-size: 10px;
|
|
gap: 3px;
|
|
}
|
|
.you-tag {
|
|
font-size: 7px;
|
|
padding: 1px 3px;
|
|
}
|
|
.player-stat {
|
|
font-size: 8px;
|
|
}
|
|
.player-score {
|
|
grid-row: 1;
|
|
grid-column: 2;
|
|
font-size: 22px;
|
|
}
|
|
.player-color {
|
|
display: none;
|
|
}
|
|
.play-area {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
.pond-section {
|
|
width: 100%;
|
|
}
|
|
.pond-toolbar {
|
|
padding: 4px 0 0;
|
|
}
|
|
.eyebrow {
|
|
font-size: 8px;
|
|
letter-spacing: 1.4px;
|
|
}
|
|
.pond-subtitle {
|
|
font-size: 9px;
|
|
}
|
|
.board {
|
|
width: calc(100% + 24px);
|
|
margin-left: -12px;
|
|
margin-right: -12px;
|
|
min-height: 0;
|
|
max-height: none;
|
|
flex-shrink: 0;
|
|
}
|
|
.food {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-width: 1px;
|
|
}
|
|
.cell-coord {
|
|
font-size: 6px;
|
|
}
|
|
.amoeba-number {
|
|
font-size: 7px;
|
|
width: 13px;
|
|
height: 13px;
|
|
min-width: 13px;
|
|
}
|
|
.amoeba-button.selected:before {
|
|
border-width: 1px;
|
|
}
|
|
.current-compass > span {
|
|
font-size: 5px;
|
|
letter-spacing: 1px;
|
|
}
|
|
.current-compass > div {
|
|
font-size: 24px;
|
|
line-height: 24px;
|
|
}
|
|
.current-compass > b {
|
|
font-size: 5px;
|
|
letter-spacing: 1px;
|
|
}
|
|
.current-compass small {
|
|
font-size: 5px;
|
|
margin-top: 3px;
|
|
}
|
|
.pond-bottom {
|
|
padding: 3px 0;
|
|
margin-top: 0;
|
|
}
|
|
.pond-bottom > span {
|
|
font-size: 8px;
|
|
}
|
|
.pond-bottom .quiet-button {
|
|
font-size: 9px;
|
|
}
|
|
.colony-panel {
|
|
padding: 14px 0 4px;
|
|
width: 100%;
|
|
border-left: 0;
|
|
border-top: 1px solid var(--line);
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 8px 14px;
|
|
}
|
|
.colony-heading h2 {
|
|
font-size: 21px;
|
|
}
|
|
.colony-heading .eyebrow {
|
|
font-size: 8px;
|
|
}
|
|
.bio-balance strong {
|
|
font-size: 22px;
|
|
}
|
|
.specimen {
|
|
display: none;
|
|
}
|
|
.specimen-heading {
|
|
grid-row: 2;
|
|
grid-column: 1;
|
|
display: block;
|
|
}
|
|
.specimen-heading h3 {
|
|
font-size: 12px;
|
|
}
|
|
.health {
|
|
font-size: 9px;
|
|
}
|
|
.diet {
|
|
grid-column: 1;
|
|
margin-top: 1px;
|
|
padding: 9px;
|
|
font-size: 9px;
|
|
}
|
|
.gene-heading {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
margin: 0;
|
|
}
|
|
.gene-heading h3 {
|
|
font-size: 11px;
|
|
}
|
|
.gene-list {
|
|
grid-column: 2;
|
|
grid-row: 2 / span 2;
|
|
gap: 7px;
|
|
}
|
|
.gene {
|
|
padding: 6px;
|
|
gap: 6px;
|
|
}
|
|
.gene-art {
|
|
width: 30px;
|
|
height: 30px;
|
|
}
|
|
.gene-art svg {
|
|
width: 29px;
|
|
height: 29px;
|
|
}
|
|
.gene strong {
|
|
font-size: 10px;
|
|
}
|
|
.gene p {
|
|
font-size: 8px;
|
|
}
|
|
.gene-sensitivity {
|
|
display: none;
|
|
}
|
|
.colony-footnote {
|
|
display: none;
|
|
}
|
|
.turnbar {
|
|
flex-wrap: wrap;
|
|
margin-top: 17px;
|
|
padding: 12px;
|
|
gap: 10px;
|
|
position: sticky;
|
|
bottom: 8px;
|
|
z-index: 10;
|
|
box-shadow:
|
|
0 4px 0 #cdd8c0,
|
|
0 -5px 20px #dde5d044;
|
|
}
|
|
.round {
|
|
gap: 5px;
|
|
padding-right: 11px;
|
|
}
|
|
.round > strong {
|
|
font-size: 28px;
|
|
}
|
|
.round > span {
|
|
font-size: 6px;
|
|
}
|
|
.phase-label > b {
|
|
font-size: 11px;
|
|
margin-left: 6px;
|
|
}
|
|
#phase-instruction {
|
|
font-size: 9px;
|
|
}
|
|
.phase-dots {
|
|
margin-top: 6px;
|
|
}
|
|
.action-buttons {
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 7px;
|
|
}
|
|
.action {
|
|
font-size: 11px;
|
|
flex: 1;
|
|
min-height: 37px;
|
|
padding: 8px;
|
|
}
|
|
.demo-footer {
|
|
font-size: 8px;
|
|
padding-bottom: 15px;
|
|
}
|
|
.shop-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.shop-card {
|
|
display: grid;
|
|
grid-template-columns: 85px 1fr;
|
|
}
|
|
.shop-art {
|
|
height: 100%;
|
|
border-bottom: 0;
|
|
border-right: 1px solid #d4ddc9;
|
|
}
|
|
.shop-art > svg {
|
|
width: 75px;
|
|
}
|
|
.shop-body {
|
|
padding: 12px;
|
|
}
|
|
.shop-body p {
|
|
margin: 5px 0 8px;
|
|
}
|
|
.shop-body .sensitivity {
|
|
display: none;
|
|
}
|
|
.help-steps {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
dialog {
|
|
padding: 25px;
|
|
}
|
|
dialog h2 {
|
|
font-size: 27px;
|
|
}
|
|
.board-toast {
|
|
font-size: 9px;
|
|
padding: 8px 12px;
|
|
}
|
|
.specimen-heading .health i svg {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
animation: none !important;
|
|
transition: none !important;
|
|
}
|
|
}
|
|
@media (min-width: 761px) {
|
|
.board {
|
|
width: 100%;
|
|
height: clamp(350px, calc(100dvh - 335px), 720px);
|
|
max-height: none;
|
|
min-height: 0;
|
|
aspect-ratio: auto;
|
|
}
|
|
.amoeba-button {
|
|
height: 17%;
|
|
width: 11.5%;
|
|
}
|
|
.current-compass {
|
|
top: 43%;
|
|
height: 11%;
|
|
}
|
|
.current-compass > div {
|
|
font-size: 29px;
|
|
line-height: 28px;
|
|
}
|
|
.current-compass small {
|
|
margin-top: 4px;
|
|
}
|
|
.amoeba-button.selected:before {
|
|
left: 9%;
|
|
width: 82%;
|
|
height: 82%;
|
|
top: 16%;
|
|
}
|
|
.amoeba-button.selected:after {
|
|
top: 3px;
|
|
}
|
|
.amoeba-number {
|
|
right: 14%;
|
|
bottom: 8%;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 761px) {
|
|
.gene-list {
|
|
max-height: 168px;
|
|
overflow-y: auto;
|
|
padding: 1px 4px 4px 1px;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: #c2cdae transparent;
|
|
}
|
|
.gene {
|
|
flex-shrink: 0;
|
|
}
|
|
}
|
|
@media (min-width: 1000px) and (max-height: 850px) {
|
|
.specimen {
|
|
height: 105px;
|
|
}
|
|
#selected-portrait {
|
|
width: 110px;
|
|
}
|
|
.gene-heading {
|
|
margin-top: 14px;
|
|
}
|
|
.diet {
|
|
margin-top: 11px;
|
|
}
|
|
}
|
|
.water-cell.valid:after {
|
|
content: attr(data-destination);
|
|
top: 7%;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: auto;
|
|
height: auto;
|
|
padding: 3px 7px;
|
|
border-radius: 20px;
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
}
|
|
.water-cell.valid .cell-coord {
|
|
opacity: 0;
|
|
}
|
|
.water-cell.drift {
|
|
background: #efffc544;
|
|
box-shadow: inset 0 0 0 2px #fcffe3;
|
|
}
|
|
.water-cell.drift:after {
|
|
color: #f9ffec;
|
|
background: #426f55;
|
|
border-color: #426f55;
|
|
}
|
|
@media (max-width: 760px) {
|
|
.water-cell.valid:after {
|
|
font-size: 7px;
|
|
padding: 2px 4px;
|
|
}
|
|
}
|