2315 lines
41 KiB
CSS
2315 lines
41 KiB
CSS
:root {
|
|
--cream: #fdf8f1;
|
|
--cream-2: #f8ecdd;
|
|
--pink: #f3b6c6;
|
|
--pink-deep: #d97f98;
|
|
--pink-soft: #fbdfe7;
|
|
--mint: #bfe2cf;
|
|
--mint-deep: #5f9c7e;
|
|
--lavender: #cdbde8;
|
|
--yellow: #f6d98a;
|
|
--ink: #463b44;
|
|
--ink-soft: #7a6a73;
|
|
--brown: #8a6552;
|
|
--white: #fffdf9;
|
|
--shadow: 0 18px 40px -24px rgba(90, 60, 75, 0.45);
|
|
--focus: #b45d7a;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
min-height: 100vh;
|
|
color: var(--ink);
|
|
background:
|
|
radial-gradient(1100px 620px at 50% -12%, #fff7ea 0%, rgba(255, 247, 234, 0) 62%),
|
|
linear-gradient(180deg, #fdf3ea 0%, #fbe9ee 46%, #ebf4e7 100%);
|
|
font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
|
|
font-size: 16px;
|
|
line-height: 1.5;
|
|
overflow-x: hidden;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3 {
|
|
font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
color: var(--ink);
|
|
}
|
|
|
|
button,
|
|
a {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
button {
|
|
font: inherit;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:disabled {
|
|
cursor: default;
|
|
}
|
|
|
|
button:focus-visible,
|
|
a:focus-visible,
|
|
[tabindex="-1"]:focus-visible {
|
|
outline: 3px solid var(--focus);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
body.overlay-open {
|
|
overflow: hidden;
|
|
}
|
|
|
|
|
|
.sky-decor {
|
|
position: fixed;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.sun {
|
|
position: absolute;
|
|
top: -80px;
|
|
right: -60px;
|
|
width: 320px;
|
|
height: 320px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(255, 228, 160, 0.75) 0%, rgba(255, 228, 160, 0) 68%);
|
|
}
|
|
|
|
.cloud {
|
|
position: absolute;
|
|
width: 170px;
|
|
height: 54px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
box-shadow: 0 12px 24px -18px rgba(120, 90, 100, 0.5);
|
|
animation: drift 24s ease-in-out infinite alternate;
|
|
}
|
|
|
|
.cloud::before,
|
|
.cloud::after {
|
|
content: "";
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
background: inherit;
|
|
}
|
|
|
|
.cloud::before {
|
|
width: 78px;
|
|
height: 78px;
|
|
top: -36px;
|
|
left: 26px;
|
|
}
|
|
|
|
.cloud::after {
|
|
width: 56px;
|
|
height: 56px;
|
|
top: -22px;
|
|
right: 28px;
|
|
}
|
|
|
|
.cloud-a {
|
|
top: 12%;
|
|
left: 5%;
|
|
}
|
|
|
|
.cloud-b {
|
|
top: 22%;
|
|
right: 8%;
|
|
transform: scale(0.72);
|
|
animation-delay: -7s;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.cloud-c {
|
|
top: 52%;
|
|
left: 74%;
|
|
transform: scale(0.5);
|
|
animation-delay: -14s;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
#app {
|
|
position: relative;
|
|
z-index: 1;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.screen {
|
|
width: min(1120px, calc(100% - 40px));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
|
|
.topbar {
|
|
position: relative;
|
|
z-index: 20;
|
|
width: min(1120px, calc(100% - 32px));
|
|
margin: 14px auto 0;
|
|
padding: 8px 10px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 253, 249, 0.72);
|
|
border: 1px solid rgba(255, 255, 255, 0.9);
|
|
box-shadow: 0 12px 30px -24px rgba(70, 50, 60, 0.55);
|
|
backdrop-filter: blur(14px);
|
|
}
|
|
|
|
.topbar-center {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.progress-label {
|
|
font-size: 0.74rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--ink-soft);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.progress-track {
|
|
width: min(320px, 100%);
|
|
height: 6px;
|
|
border-radius: 99px;
|
|
background: rgba(70, 50, 60, 0.1);
|
|
overflow: hidden;
|
|
}
|
|
|
|
#progress-fill {
|
|
height: 100%;
|
|
width: 0;
|
|
border-radius: 99px;
|
|
background: linear-gradient(90deg, var(--pink), var(--lavender));
|
|
transition: width 0.5s ease;
|
|
}
|
|
|
|
|
|
.pill-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 40px;
|
|
padding: 8px 16px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(90, 60, 75, 0.14);
|
|
background: rgba(255, 255, 255, 0.6);
|
|
font-size: 0.86rem;
|
|
font-weight: 700;
|
|
color: var(--ink);
|
|
transition: background 0.18s ease, transform 0.18s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.pill-btn:hover {
|
|
background: #fff;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.pill-btn.soft {
|
|
background: var(--mint);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.primary-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: 52px;
|
|
padding: 14px 28px;
|
|
border: none;
|
|
border-radius: 999px;
|
|
background: linear-gradient(135deg, #e58da5, #c96f8d);
|
|
color: #fff;
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
box-shadow: 0 12px 24px -14px rgba(190, 90, 120, 0.85);
|
|
transition: transform 0.16s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.primary-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 16px 28px -14px rgba(190, 90, 120, 0.9);
|
|
}
|
|
|
|
.primary-btn:active {
|
|
transform: translateY(1px) scale(0.99);
|
|
}
|
|
|
|
.secondary-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 50px;
|
|
padding: 12px 24px;
|
|
border-radius: 999px;
|
|
border: 2px solid rgba(217, 127, 152, 0.55);
|
|
background: #fff;
|
|
color: var(--ink);
|
|
font-size: 0.98rem;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
transition: background 0.18s ease, transform 0.18s ease;
|
|
}
|
|
|
|
.secondary-btn:hover {
|
|
background: var(--pink-soft);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.text-btn {
|
|
border: none;
|
|
background: none;
|
|
padding: 8px;
|
|
color: var(--ink-soft);
|
|
font-size: 0.88rem;
|
|
text-decoration: underline;
|
|
text-underline-offset: 4px;
|
|
}
|
|
|
|
.text-btn.danger {
|
|
color: #b8566f;
|
|
}
|
|
|
|
.text-link {
|
|
color: var(--ink-soft);
|
|
font-size: 0.86rem;
|
|
text-decoration: underline;
|
|
text-underline-offset: 4px;
|
|
}
|
|
|
|
|
|
.welcome {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 44px 16px 140px;
|
|
}
|
|
|
|
.welcome-inner {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 680px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 18px;
|
|
text-align: center;
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0;
|
|
color: #a27486;
|
|
font-size: 0.72rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.welcome h1 {
|
|
margin: 0;
|
|
font-size: clamp(3.2rem, 9vw, 6.4rem);
|
|
line-height: 0.96;
|
|
text-shadow: 0 12px 30px rgba(190, 120, 140, 0.12);
|
|
}
|
|
|
|
.welcome h1 #welcome-name {
|
|
color: #c96f8d;
|
|
}
|
|
|
|
.welcome-text {
|
|
max-width: 34rem;
|
|
margin: 0;
|
|
color: var(--ink-soft);
|
|
font-size: 1.04rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.welcome-hint {
|
|
margin: 0;
|
|
color: #9a8892;
|
|
font-size: 0.82rem;
|
|
}
|
|
|
|
.config-warning {
|
|
max-width: 34rem;
|
|
padding: 12px 16px;
|
|
border-radius: 14px;
|
|
background: #fff1d6;
|
|
border: 1px solid #eccb8a;
|
|
color: #7a5a22;
|
|
font-size: 0.88rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.welcome-flowers {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: -96px;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: clamp(8px, 5vw, 52px);
|
|
font-size: clamp(2rem, 6vw, 4rem);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.wf {
|
|
display: inline-block;
|
|
filter: drop-shadow(0 10px 10px rgba(90, 60, 75, 0.14));
|
|
animation: sway 5.5s ease-in-out infinite;
|
|
}
|
|
|
|
.wf-2 {
|
|
animation-delay: -1.2s;
|
|
transform: translateY(-14px);
|
|
}
|
|
|
|
.wf-3 {
|
|
animation-delay: -2.4s;
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.wf-4 {
|
|
animation-delay: -0.7s;
|
|
transform: translateY(-6px);
|
|
}
|
|
|
|
.wf-5 {
|
|
animation-delay: -3.1s;
|
|
}
|
|
|
|
.wf-6 {
|
|
animation-delay: -1.8s;
|
|
transform: translateY(-18px);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
|
|
.map-screen {
|
|
padding: 26px 0 70px;
|
|
}
|
|
|
|
.map-heading {
|
|
text-align: center;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.map-heading h2 {
|
|
margin: 6px 0 8px;
|
|
font-size: clamp(1.9rem, 4vw, 2.8rem);
|
|
}
|
|
|
|
.map-intro {
|
|
max-width: 520px;
|
|
margin: 0 auto;
|
|
color: var(--ink-soft);
|
|
font-size: 0.96rem;
|
|
}
|
|
|
|
.garden-path {
|
|
position: relative;
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: 1fr;
|
|
gap: 8px;
|
|
padding: 46px 0 28px;
|
|
}
|
|
|
|
.garden-path::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 9%;
|
|
right: 9%;
|
|
top: 50%;
|
|
border-top: 4px dashed rgba(122, 106, 115, 0.26);
|
|
z-index: 0;
|
|
}
|
|
|
|
.map-node {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
text-align: center;
|
|
}
|
|
|
|
.map-node:nth-child(even) {
|
|
transform: translateY(12px);
|
|
}
|
|
|
|
.map-node:nth-child(odd) {
|
|
transform: translateY(-8px);
|
|
}
|
|
|
|
.map-node.locked {
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.node-circle {
|
|
position: relative;
|
|
display: grid;
|
|
place-items: center;
|
|
width: clamp(74px, 9vw, 102px);
|
|
height: clamp(74px, 9vw, 102px);
|
|
border-radius: 50%;
|
|
border: 3px solid rgba(217, 127, 152, 0.32);
|
|
background: radial-gradient(circle at 35% 30%, #fff, #f6e7d6);
|
|
box-shadow: 0 14px 24px -18px rgba(70, 50, 60, 0.6);
|
|
font-size: clamp(1.7rem, 3vw, 2.3rem);
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.map-node:not(.locked):hover .node-circle {
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.map-node.current .node-circle {
|
|
border-color: var(--pink-deep);
|
|
background: radial-gradient(circle at 35% 30%, #fff8dc, #f8d9a8);
|
|
box-shadow: 0 0 0 8px rgba(246, 217, 138, 0.24), 0 18px 30px -18px rgba(190, 120, 90, 0.75);
|
|
animation: bob 3.4s ease-in-out infinite;
|
|
}
|
|
|
|
.map-node.completed .node-circle {
|
|
border-color: var(--mint-deep);
|
|
background: radial-gradient(circle at 35% 30%, #f4fff8, #c9e8d8);
|
|
}
|
|
|
|
.node-icon {
|
|
line-height: 1;
|
|
}
|
|
|
|
.node-gift {
|
|
position: absolute;
|
|
right: -4px;
|
|
bottom: -2px;
|
|
font-size: 1.4rem;
|
|
filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.16));
|
|
}
|
|
|
|
.node-lock {
|
|
position: absolute;
|
|
right: -2px;
|
|
bottom: -2px;
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.node-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
}
|
|
|
|
.node-label {
|
|
font-size: 0.94rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.node-sub {
|
|
font-size: 0.76rem;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
|
|
.shelf {
|
|
margin-top: 30px;
|
|
padding: 18px;
|
|
border-radius: 24px;
|
|
background: rgba(255, 253, 249, 0.65);
|
|
border: 1px solid rgba(255, 255, 255, 0.92);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.shelf-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.shelf-head h3 {
|
|
margin: 0;
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.shelf-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 12px;
|
|
}
|
|
|
|
.shelf-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 150px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
border: none;
|
|
border-radius: 16px;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
text-align: left;
|
|
box-shadow: 0 10px 20px -18px rgba(70, 50, 60, 0.75);
|
|
transition: transform 0.18s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
button.shelf-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 16px 26px -18px rgba(70, 50, 60, 0.7);
|
|
}
|
|
|
|
.shelf-art {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, var(--accent, #d9c2e8), #fff7ef);
|
|
}
|
|
|
|
.shelf-art img,
|
|
.reveal-art img,
|
|
.finale-art img {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
opacity: 0;
|
|
transition: opacity 0.35s ease;
|
|
}
|
|
|
|
.has-image img {
|
|
opacity: 1;
|
|
}
|
|
|
|
.has-image .cover-fallback {
|
|
opacity: 0;
|
|
}
|
|
|
|
.cover-fallback {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 12px;
|
|
color: rgba(70, 50, 60, 0.72);
|
|
font-family: Georgia, "Iowan Old Style", serif;
|
|
font-size: 0.95rem;
|
|
font-weight: 700;
|
|
text-align: center;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.shelf-title {
|
|
display: block;
|
|
padding: 9px 11px 2px;
|
|
font-size: 0.88rem;
|
|
font-weight: 700;
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.shelf-sub {
|
|
display: block;
|
|
padding: 0 11px 10px;
|
|
color: var(--ink-soft);
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.shelf-card.locked {
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
text-align: center;
|
|
background: repeating-linear-gradient(45deg, #fbf1e5, #fbf1e5 10px, #f7e9da 10px, #f7e9da 20px);
|
|
}
|
|
|
|
.shelf-card.locked .gift-box {
|
|
font-size: 2rem;
|
|
filter: grayscale(0.15);
|
|
}
|
|
|
|
.shelf-card.locked .shelf-title,
|
|
.shelf-card.locked .shelf-sub {
|
|
padding: 0;
|
|
}
|
|
|
|
.map-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-top: 18px;
|
|
padding: 0 6px;
|
|
}
|
|
|
|
.map-footer-note {
|
|
color: #9a8892;
|
|
font-size: 0.78rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
|
|
.level-screen {
|
|
padding: 20px 0 60px;
|
|
}
|
|
|
|
.level-head {
|
|
margin: 4px 0 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.level-head h2 {
|
|
margin: 6px 0;
|
|
font-size: clamp(1.8rem, 4vw, 2.6rem);
|
|
}
|
|
|
|
.level-instruction {
|
|
max-width: 620px;
|
|
margin: 0 auto;
|
|
color: var(--ink-soft);
|
|
font-size: 0.96rem;
|
|
}
|
|
|
|
.stage {
|
|
position: relative;
|
|
width: 100%;
|
|
min-height: clamp(380px, 54vh, 520px);
|
|
overflow: hidden;
|
|
border-radius: 30px;
|
|
background: #f6eee2;
|
|
box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.level-hint {
|
|
min-height: 1.6em;
|
|
max-width: 640px;
|
|
margin: 14px auto 0;
|
|
color: var(--ink-soft);
|
|
font-size: 0.96rem;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
.stage-garden {
|
|
background: linear-gradient(180deg, #eaf7ee 0%, #d6efdf 52%, #bfe0c6 100%);
|
|
}
|
|
|
|
.garden-scene {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: clamp(380px, 54vh, 520px);
|
|
padding: 22px;
|
|
}
|
|
|
|
.garden-sun {
|
|
position: absolute;
|
|
top: -46px;
|
|
left: -34px;
|
|
width: 210px;
|
|
height: 210px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(255, 236, 170, 0.9) 0%, rgba(255, 236, 170, 0) 68%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.tool-row {
|
|
position: relative;
|
|
z-index: 3;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.tool-label {
|
|
margin-right: 4px;
|
|
color: var(--ink-soft);
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.tool-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
min-height: 46px;
|
|
padding: 8px 16px;
|
|
border: 2px solid transparent;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.66);
|
|
box-shadow: 0 8px 16px -14px rgba(70, 50, 60, 0.7);
|
|
font-size: 0.88rem;
|
|
font-weight: 700;
|
|
transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
|
|
}
|
|
|
|
.tool-btn span:first-child {
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.tool-btn:hover {
|
|
background: #fff;
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.tool-btn.selected {
|
|
border-color: var(--pink-deep);
|
|
background: #fff;
|
|
box-shadow: 0 0 0 4px rgba(243, 182, 198, 0.25);
|
|
}
|
|
|
|
.pot-row {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
gap: clamp(4px, 3vw, 34px);
|
|
margin-top: auto;
|
|
padding-bottom: 6px;
|
|
}
|
|
|
|
.pot {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
width: clamp(58px, 8.5vw, 96px);
|
|
height: clamp(122px, 19vh, 172px);
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
}
|
|
|
|
.pot-body {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 100%;
|
|
height: 46%;
|
|
border-radius: 6px 6px 22px 22px;
|
|
background: linear-gradient(180deg, #cf946f, #b47655);
|
|
box-shadow: inset -8px 0 12px rgba(0, 0, 0, 0.08), inset 8px 0 12px rgba(255, 255, 255, 0.13);
|
|
}
|
|
|
|
.pot-rim {
|
|
position: absolute;
|
|
top: -6px;
|
|
left: -6px;
|
|
right: -6px;
|
|
height: 18px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(180deg, #dda37c, #c78a64);
|
|
}
|
|
|
|
.pot-plant {
|
|
position: absolute;
|
|
z-index: 1;
|
|
bottom: 42%;
|
|
left: 0;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 64%;
|
|
transform: scale(0.08);
|
|
transform-origin: bottom center;
|
|
transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.pot.seeded .pot-plant {
|
|
transform: scale(0.5);
|
|
}
|
|
|
|
.pot.watered .pot-plant {
|
|
transform: scale(0.72);
|
|
}
|
|
|
|
.pot.bloomed .pot-plant {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.stem {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 5px;
|
|
height: 70%;
|
|
border-radius: 6px;
|
|
background: linear-gradient(180deg, #7bbf89, #4f9463);
|
|
}
|
|
|
|
.leaf {
|
|
position: absolute;
|
|
bottom: 34%;
|
|
width: 28%;
|
|
height: 12%;
|
|
border-radius: 60% 10% 60% 10%;
|
|
background: #7bbf89;
|
|
}
|
|
|
|
.leaf-l {
|
|
left: 20%;
|
|
transform: rotate(22deg);
|
|
}
|
|
|
|
.leaf-r {
|
|
right: 20%;
|
|
transform: scaleX(-1) rotate(22deg);
|
|
}
|
|
|
|
.bloom {
|
|
position: absolute;
|
|
top: -8px;
|
|
left: 50%;
|
|
width: min(140%, 76px);
|
|
aspect-ratio: 1;
|
|
border-radius: 50%;
|
|
background:
|
|
radial-gradient(circle at 50% 50%, #f9e08a 0 18%, rgba(249, 224, 138, 0) 19%),
|
|
repeating-conic-gradient(from 0deg, var(--bloom, #f4a7b9) 0 30deg, var(--bloom-2, #f9cfd8) 30deg 60deg);
|
|
box-shadow: 0 6px 18px -10px rgba(70, 50, 60, 0.4);
|
|
opacity: 0;
|
|
transform: translateX(-50%) scale(0.2) rotate(-30deg);
|
|
transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
}
|
|
|
|
.pot.bloomed .bloom {
|
|
opacity: 1;
|
|
transform: translateX(-50%) scale(1) rotate(0deg);
|
|
}
|
|
|
|
.pot.watering .pot-body::after {
|
|
content: "💧";
|
|
position: absolute;
|
|
top: -74px;
|
|
left: 50%;
|
|
font-size: 1.25rem;
|
|
transform: translateX(-50%);
|
|
animation: drop 0.55s ease-in;
|
|
}
|
|
|
|
|
|
.stage-fireflies {
|
|
background: radial-gradient(120% 90% at 50% -10%, #5b4d7d 0%, #332d56 46%, #1d1b33 100%);
|
|
}
|
|
|
|
.firefly-scene {
|
|
position: relative;
|
|
min-height: clamp(380px, 54vh, 520px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.tiny-star {
|
|
position: absolute;
|
|
width: 3px;
|
|
height: 3px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.78);
|
|
animation: twinkle 3.6s ease-in-out infinite;
|
|
}
|
|
|
|
.scene-counter {
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 50%;
|
|
z-index: 3;
|
|
margin: 0;
|
|
padding: 8px 18px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(255, 255, 255, 0.22);
|
|
background: rgba(255, 255, 255, 0.12);
|
|
color: #fdf4dd;
|
|
font-size: 0.82rem;
|
|
letter-spacing: 0.04em;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.jar {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 20px;
|
|
z-index: 2;
|
|
width: clamp(96px, 12vw, 140px);
|
|
height: clamp(110px, 15vh, 150px);
|
|
border: 3px solid rgba(255, 255, 255, 0.45);
|
|
border-radius: 18px 18px 34px 34px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.28));
|
|
box-shadow: inset 0 0 30px rgba(255, 240, 180, 0.14), 0 16px 30px -20px #000;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.jar-lid {
|
|
position: absolute;
|
|
top: -14px;
|
|
left: 50%;
|
|
width: 72%;
|
|
height: 20px;
|
|
border-radius: 8px;
|
|
background: linear-gradient(180deg, #c8b9a4, #9c8b76);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.jar-glow {
|
|
position: absolute;
|
|
inset: 18% 16% 12%;
|
|
border-radius: 40%;
|
|
background: radial-gradient(circle, rgba(255, 232, 150, 0.4), rgba(255, 232, 150, 0) 70%);
|
|
opacity: 0;
|
|
transition: opacity 0.6s ease;
|
|
}
|
|
|
|
.jar.has-light .jar-glow {
|
|
opacity: 1;
|
|
animation: jar-glow 2.8s ease-in-out infinite;
|
|
}
|
|
|
|
.jar-dots {
|
|
position: absolute;
|
|
inset: 16%;
|
|
}
|
|
|
|
.glow-dot {
|
|
position: absolute;
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
background: #ffedb0;
|
|
box-shadow: 0 0 12px 5px rgba(255, 230, 140, 0.65);
|
|
animation: pulse 2.2s ease-in-out infinite;
|
|
}
|
|
|
|
.jar-label {
|
|
position: absolute;
|
|
bottom: 8px;
|
|
left: 50%;
|
|
color: rgba(255, 255, 255, 0.55);
|
|
font-size: 0.72rem;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.firefly {
|
|
position: absolute;
|
|
z-index: 2;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 54px;
|
|
height: 54px;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.firefly::before {
|
|
content: "";
|
|
width: 11px;
|
|
height: 11px;
|
|
border-radius: 50%;
|
|
background: #fff3bd;
|
|
box-shadow: 0 0 16px 7px rgba(255, 232, 150, 0.55);
|
|
animation: pulse 2.4s ease-in-out infinite;
|
|
}
|
|
|
|
.firefly:hover::before {
|
|
box-shadow: 0 0 22px 10px rgba(255, 240, 170, 0.82);
|
|
}
|
|
|
|
.firefly.caught {
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(0.4);
|
|
transition: left 0.45s ease, top 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
|
|
.stage-stars {
|
|
background: radial-gradient(circle at 50% 10%, #33406f 0%, #1c2444 55%, #11162a 100%);
|
|
}
|
|
|
|
.starfield {
|
|
position: relative;
|
|
min-height: clamp(380px, 54vh, 520px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.constellation-lines {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 1;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.star-line {
|
|
stroke: #ffe6a7;
|
|
stroke-width: 3;
|
|
stroke-linecap: round;
|
|
vector-effect: non-scaling-stroke;
|
|
opacity: 0;
|
|
filter: drop-shadow(0 0 6px rgba(255, 220, 140, 0.8));
|
|
animation: line-in 0.55s ease forwards;
|
|
}
|
|
|
|
.star {
|
|
position: absolute;
|
|
z-index: 2;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.star::before {
|
|
content: "";
|
|
width: 13px;
|
|
height: 13px;
|
|
border-radius: 50%;
|
|
background: #fff9db;
|
|
box-shadow: 0 0 10px 4px rgba(255, 246, 200, 0.55);
|
|
transition: box-shadow 0.3s ease, background 0.3s ease;
|
|
}
|
|
|
|
.star-num {
|
|
position: absolute;
|
|
top: -15px;
|
|
color: rgba(255, 255, 255, 0.58);
|
|
font-size: 0.68rem;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.star.next::before {
|
|
box-shadow: 0 0 16px 8px rgba(255, 232, 150, 0.7);
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
.star.connected::before {
|
|
background: #ffe9a6;
|
|
box-shadow: 0 0 18px 8px rgba(255, 220, 130, 0.8);
|
|
}
|
|
|
|
.star.wrong {
|
|
animation: nudge 0.5s ease;
|
|
}
|
|
|
|
.constellation-done .star::before {
|
|
box-shadow: 0 0 24px 12px rgba(255, 220, 130, 0.85);
|
|
}
|
|
|
|
|
|
.stage-cake {
|
|
background: radial-gradient(120% 100% at 50% 0%, #fff8f3 0%, #fbe4e6 60%, #f7d8dd 100%);
|
|
}
|
|
|
|
.cake-scene {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: clamp(420px, 56vh, 540px);
|
|
padding: 18px;
|
|
}
|
|
|
|
.cake {
|
|
position: relative;
|
|
flex: 0 0 auto;
|
|
width: min(380px, 74vw);
|
|
height: 240px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.cake-art {
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.cake-plate {
|
|
position: absolute;
|
|
left: 4%;
|
|
right: 4%;
|
|
bottom: 0;
|
|
height: 22px;
|
|
border-radius: 50%;
|
|
background: linear-gradient(180deg, #fff, #e6d8d2);
|
|
box-shadow: 0 8px 20px -10px rgba(90, 60, 75, 0.4);
|
|
}
|
|
|
|
.cake-body {
|
|
position: absolute;
|
|
left: 9%;
|
|
right: 9%;
|
|
bottom: 12px;
|
|
height: 160px;
|
|
border-radius: 14px 14px 18px 18px;
|
|
background: linear-gradient(
|
|
180deg,
|
|
#f9d7c3 0%,
|
|
#f3b9a3 21%,
|
|
#fff1e2 22%,
|
|
#f7ddc7 47%,
|
|
#f0b7a0 48%,
|
|
#fff1e2 50%,
|
|
#f7ddc7 77%,
|
|
#eaa58d 79%
|
|
);
|
|
box-shadow: inset 0 -12px 24px rgba(160, 90, 70, 0.12);
|
|
}
|
|
|
|
.cake-frosting {
|
|
position: absolute;
|
|
top: 0;
|
|
left: -2%;
|
|
right: -2%;
|
|
height: 40px;
|
|
border-radius: 50% 50% 0 0 / 90% 90% 0 0;
|
|
background: linear-gradient(180deg, #fffdf9, #fdeee6);
|
|
box-shadow: 0 6px 12px rgba(180, 120, 110, 0.12);
|
|
}
|
|
|
|
.cake-drip {
|
|
position: absolute;
|
|
top: 24px;
|
|
width: 18px;
|
|
height: 28px;
|
|
border-radius: 0 0 50% 50%;
|
|
background: #fffdf9;
|
|
}
|
|
|
|
.drip-1 {
|
|
left: 16%;
|
|
}
|
|
|
|
.drip-2 {
|
|
left: 47%;
|
|
height: 36px;
|
|
}
|
|
|
|
.drip-3 {
|
|
right: 17%;
|
|
height: 22px;
|
|
}
|
|
|
|
.candle {
|
|
position: absolute;
|
|
top: -26px;
|
|
left: 50%;
|
|
z-index: 3;
|
|
width: 14px;
|
|
height: 40px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.candle-stick {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 50%;
|
|
width: 10px;
|
|
height: 32px;
|
|
border-radius: 4px;
|
|
background: repeating-linear-gradient(180deg, #fff 0 6px, #f3b6c6 6px 10px);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.flame {
|
|
position: absolute;
|
|
top: -8px;
|
|
left: 50%;
|
|
width: 14px;
|
|
height: 20px;
|
|
border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
|
|
background: radial-gradient(circle at 50% 65%, #fff3b0, #f6a23c 70%);
|
|
box-shadow: 0 0 20px 8px rgba(255, 190, 80, 0.55);
|
|
opacity: 0;
|
|
transform: translateX(-50%) scale(0);
|
|
transition: opacity 0.5s ease, transform 0.5s ease;
|
|
}
|
|
|
|
.cake-done .flame {
|
|
opacity: 1;
|
|
transform: translateX(-50%) scale(1);
|
|
animation: flicker 1.2s ease-in-out infinite;
|
|
}
|
|
|
|
.cake-slots {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 2;
|
|
}
|
|
|
|
.cake-slot {
|
|
position: absolute;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 52px;
|
|
height: 52px;
|
|
padding: 0;
|
|
border: 2px dashed rgba(180, 120, 120, 0.38);
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.55);
|
|
font-size: 1.5rem;
|
|
transform: translate(-50%, -50%);
|
|
transition: transform 0.15s ease, background 0.2s ease;
|
|
}
|
|
|
|
.cake-slot .slot-ghost {
|
|
opacity: 0.2;
|
|
filter: grayscale(0.4);
|
|
}
|
|
|
|
.cake-slot:hover {
|
|
background: rgba(255, 255, 255, 0.88);
|
|
transform: translate(-50%, -50%) scale(1.06);
|
|
}
|
|
|
|
.cake-slot.filled {
|
|
border-style: solid;
|
|
background: #fffdf9;
|
|
box-shadow: 0 4px 10px -6px rgba(90, 60, 75, 0.4);
|
|
}
|
|
|
|
.cake-slot.filled .slot-topping {
|
|
animation: pop 0.3s ease;
|
|
}
|
|
|
|
.tray-label {
|
|
margin: 2px 0 0;
|
|
color: var(--ink-soft);
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.topping-tray {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
max-width: 700px;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.topping {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2px;
|
|
min-width: 64px;
|
|
padding: 8px 10px;
|
|
border: 2px solid transparent;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.75);
|
|
box-shadow: 0 6px 12px -12px rgba(90, 60, 75, 0.5);
|
|
touch-action: none;
|
|
transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
|
|
}
|
|
|
|
.topping:hover {
|
|
background: #fff;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.topping.selected {
|
|
border-color: var(--pink-deep);
|
|
background: #fff;
|
|
box-shadow: 0 0 0 4px rgba(243, 182, 198, 0.28);
|
|
}
|
|
|
|
.topping.used {
|
|
opacity: 0.35;
|
|
filter: grayscale(0.5);
|
|
}
|
|
|
|
.topping-emoji {
|
|
font-size: 1.5rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.topping-name {
|
|
color: var(--ink-soft);
|
|
font-size: 0.68rem;
|
|
}
|
|
|
|
|
|
.stage-bouquet {
|
|
background: linear-gradient(180deg, #f2fbf4 0%, #e3f2e6 60%, #d8ecdd 100%);
|
|
}
|
|
|
|
.bouquet-scene {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-template-areas:
|
|
"pattern pattern"
|
|
"vase garden";
|
|
gap: 12px 24px;
|
|
align-items: start;
|
|
min-height: clamp(420px, 56vh, 540px);
|
|
padding: 16px 22px 22px;
|
|
}
|
|
|
|
.pattern-panel {
|
|
grid-area: pattern;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
flex-wrap: wrap;
|
|
padding: 8px 14px;
|
|
border-radius: 18px;
|
|
background: rgba(255, 255, 255, 0.62);
|
|
}
|
|
|
|
.panel-label {
|
|
margin: 0;
|
|
color: var(--ink-soft);
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.pattern-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 4px;
|
|
}
|
|
|
|
.pattern-flower {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 44px;
|
|
height: 44px;
|
|
}
|
|
|
|
.flower-svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
filter: drop-shadow(0 2px 3px rgba(90, 60, 75, 0.15));
|
|
}
|
|
|
|
.vase-panel {
|
|
grid-area: vase;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.bouquet-holder {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.vase-slots {
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 2px;
|
|
max-width: 310px;
|
|
margin-bottom: -10px;
|
|
}
|
|
|
|
.vase-slot {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 54px;
|
|
height: 54px;
|
|
padding: 0;
|
|
border: 2px dashed rgba(95, 156, 126, 0.4);
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.vase-slot .slot-flower,
|
|
.vase-slot .slot-flower-ghost {
|
|
display: block;
|
|
width: 72%;
|
|
height: 72%;
|
|
}
|
|
|
|
.slot-flower-ghost {
|
|
opacity: 0.22;
|
|
filter: grayscale(0.45);
|
|
}
|
|
|
|
.vase-slot.filled {
|
|
border-style: solid;
|
|
border-color: var(--mint-deep);
|
|
background: #fffdf9;
|
|
}
|
|
|
|
.vase-slot.filled .slot-flower {
|
|
animation: pop 0.35s ease;
|
|
}
|
|
|
|
.vase {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 180px;
|
|
height: 130px;
|
|
margin-top: -6px;
|
|
}
|
|
|
|
.vase-body {
|
|
position: absolute;
|
|
inset: 10px 0 0;
|
|
border-radius: 12px 12px 46% 46% / 12px 12px 60% 60%;
|
|
background: linear-gradient(180deg, #b9dcd0, #7fb8a1);
|
|
box-shadow: inset -14px 0 24px rgba(0, 0, 0, 0.08), inset 12px 0 20px rgba(255, 255, 255, 0.28);
|
|
}
|
|
|
|
.vase-rim {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50%;
|
|
z-index: 2;
|
|
width: 70%;
|
|
height: 22px;
|
|
border-radius: 10px;
|
|
background: linear-gradient(180deg, #cce7dd, #a3cdbd);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.garden-panel {
|
|
grid-area: garden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.garden-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 6px;
|
|
width: min(260px, 100%);
|
|
}
|
|
|
|
.garden-flower {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
padding: 8px;
|
|
border: 2px solid transparent;
|
|
border-radius: 16px;
|
|
background: rgba(255, 255, 255, 0.55);
|
|
transition: transform 0.15s ease, background 0.18s ease, border-color 0.18s ease;
|
|
}
|
|
|
|
.garden-flower:hover {
|
|
background: #fff;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.garden-flower.selected {
|
|
border-color: var(--pink-deep);
|
|
background: #fff;
|
|
box-shadow: 0 0 0 4px rgba(243, 182, 198, 0.25);
|
|
}
|
|
|
|
.garden-flower.used {
|
|
opacity: 0.25;
|
|
filter: grayscale(0.4);
|
|
}
|
|
|
|
.bouquet-done .vase {
|
|
animation: bob 2s ease-in-out infinite;
|
|
}
|
|
|
|
.stage-memory {
|
|
background: radial-gradient(120% 100% at 50% 0%, #f2fbf4 0%, #dfefe4 55%, #cfe4d6 100%);
|
|
}
|
|
|
|
.memory-scene {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-height: clamp(400px, 56vh, 540px);
|
|
padding: 20px;
|
|
}
|
|
|
|
.memory-counter {
|
|
position: static;
|
|
color: var(--ink-soft);
|
|
background: rgba(255, 255, 255, 0.72);
|
|
border-color: rgba(95, 156, 126, 0.28);
|
|
transform: none;
|
|
}
|
|
|
|
.memory-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(6, 1fr);
|
|
gap: 10px;
|
|
width: min(820px, 100%);
|
|
}
|
|
|
|
.memory-card {
|
|
position: relative;
|
|
aspect-ratio: 4 / 5;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
perspective: 800px;
|
|
}
|
|
|
|
.memory-inner {
|
|
position: absolute;
|
|
inset: 0;
|
|
transform-style: preserve-3d;
|
|
transition: transform 0.45s ease;
|
|
}
|
|
|
|
.memory-card.flipped .memory-inner {
|
|
transform: rotateY(180deg);
|
|
}
|
|
|
|
.memory-face {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 16px;
|
|
backface-visibility: hidden;
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
|
|
.memory-back {
|
|
border: 2px solid rgba(255, 255, 255, 0.6);
|
|
background:
|
|
radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 45%),
|
|
linear-gradient(145deg, #9fc7ad, #6fa98a);
|
|
box-shadow: 0 10px 18px -14px rgba(70, 50, 60, 0.7);
|
|
color: rgba(255, 255, 255, 0.82);
|
|
font-size: 1.7rem;
|
|
}
|
|
|
|
.memory-front {
|
|
border: 2px solid rgba(95, 156, 126, 0.35);
|
|
background: #fffdf9;
|
|
transform: rotateY(180deg);
|
|
box-shadow: 0 10px 18px -16px rgba(70, 50, 60, 0.5);
|
|
}
|
|
|
|
.memory-front .flower-svg {
|
|
width: 74%;
|
|
height: 74%;
|
|
}
|
|
|
|
.memory-card.matched .memory-front {
|
|
border-color: var(--yellow);
|
|
box-shadow: 0 0 0 5px rgba(246, 217, 138, 0.32);
|
|
}
|
|
|
|
.memory-card.matched {
|
|
animation: card-match 0.4s ease;
|
|
}
|
|
|
|
.stage-leaves {
|
|
background:
|
|
radial-gradient(120% 100% at 50% 0%, #fff8ea 0%, #fbe8cb 55%, #eed6ad 100%);
|
|
}
|
|
|
|
.leaves-scene {
|
|
position: relative;
|
|
min-height: clamp(400px, 56vh, 540px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.leaves-counter {
|
|
color: var(--ink-soft);
|
|
background: rgba(255, 255, 255, 0.75);
|
|
border-color: rgba(150, 110, 70, 0.28);
|
|
}
|
|
|
|
.leaf {
|
|
position: absolute;
|
|
z-index: 2;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 62px;
|
|
height: 62px;
|
|
padding: 0;
|
|
border: none;
|
|
background: none;
|
|
font-size: 2.2rem;
|
|
transform: translate(-50%, -50%) rotate(var(--rot, 0deg));
|
|
filter: drop-shadow(0 5px 5px rgba(120, 80, 40, 0.25));
|
|
cursor: grab;
|
|
touch-action: none;
|
|
transition: left 0.35s ease, top 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
|
|
}
|
|
|
|
.leaf span {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.leaf:hover {
|
|
transform: translate(-50%, -50%) rotate(var(--rot, 0deg)) scale(1.08);
|
|
}
|
|
|
|
.leaf.dragging {
|
|
z-index: 6;
|
|
cursor: grabbing;
|
|
transform: translate(-50%, -50%) scale(1.18) rotate(0deg);
|
|
transition: none;
|
|
}
|
|
|
|
.leaf.collected {
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.leaf-basket {
|
|
position: absolute;
|
|
bottom: 12px;
|
|
left: 50%;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
width: 170px;
|
|
height: 132px;
|
|
padding-bottom: 8px;
|
|
border: 2px dashed rgba(150, 110, 70, 0.4);
|
|
border-radius: 26px;
|
|
background: rgba(255, 255, 255, 0.3);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.basket-emoji {
|
|
font-size: 3rem;
|
|
line-height: 1;
|
|
filter: drop-shadow(0 6px 6px rgba(120, 80, 40, 0.22));
|
|
}
|
|
|
|
.basket-label {
|
|
color: #8a6a45;
|
|
font-size: 0.68rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.leaf-basket.basket-full {
|
|
border-color: var(--yellow);
|
|
background: rgba(255, 248, 216, 0.6);
|
|
animation: bob 0.4s ease;
|
|
}
|
|
|
|
|
|
.finale-screen {
|
|
position: relative;
|
|
flex: 1;
|
|
padding: 30px 0 70px;
|
|
}
|
|
|
|
.finale-inner {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.finale-inner h2 {
|
|
margin: 0;
|
|
font-size: clamp(2.4rem, 6vw, 4rem);
|
|
}
|
|
|
|
.finale-message {
|
|
max-width: 640px;
|
|
margin: 0;
|
|
color: var(--ink-soft);
|
|
font-size: 1.04rem;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.finale-gifts {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
|
gap: 12px;
|
|
width: 100%;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.finale-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 16px;
|
|
background: #fff;
|
|
color: var(--ink);
|
|
overflow: hidden;
|
|
box-shadow: 0 10px 20px -18px rgba(70, 50, 60, 0.75);
|
|
text-align: left;
|
|
transition: transform 0.18s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.finale-card:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 16px 26px -18px rgba(70, 50, 60, 0.7);
|
|
}
|
|
|
|
.finale-art {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, var(--accent, #d9c2e8), #fff7ef);
|
|
}
|
|
|
|
.finale-card-title {
|
|
padding: 7px 8px 9px;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.finale-signature {
|
|
margin: 0;
|
|
color: #a27486;
|
|
font-family: Georgia, "Iowan Old Style", serif;
|
|
font-size: 1.1rem;
|
|
font-style: italic;
|
|
}
|
|
|
|
.confetti-layer {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 40;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.confetti {
|
|
position: absolute;
|
|
top: -24px;
|
|
border-radius: 2px;
|
|
opacity: 0.9;
|
|
animation-name: fall;
|
|
animation-timing-function: linear;
|
|
animation-fill-mode: forwards;
|
|
}
|
|
|
|
|
|
.overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 50;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 20px;
|
|
background: rgba(58, 42, 52, 0.45);
|
|
backdrop-filter: blur(6px);
|
|
animation: fade-in 0.25s ease;
|
|
}
|
|
|
|
.overlay-card {
|
|
position: relative;
|
|
width: min(520px, 100%);
|
|
max-height: calc(100vh - 40px);
|
|
padding: 26px;
|
|
overflow: auto;
|
|
border-radius: 28px;
|
|
background: linear-gradient(180deg, #fffdf9, #fdf3ec);
|
|
box-shadow: 0 30px 80px -30px rgba(40, 20, 30, 0.6);
|
|
text-align: center;
|
|
animation: rise 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
|
|
}
|
|
|
|
.reveal-card .eyebrow {
|
|
color: var(--pink-deep);
|
|
}
|
|
|
|
.reveal-sparkles {
|
|
position: absolute;
|
|
top: -18px;
|
|
left: 50%;
|
|
font-size: 1.6rem;
|
|
filter: drop-shadow(0 4px 6px rgba(120, 70, 90, 0.25));
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.reveal-art {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 2.14 / 1;
|
|
max-height: 230px;
|
|
margin: 14px 0 16px;
|
|
overflow: hidden;
|
|
border-radius: 18px;
|
|
background: linear-gradient(135deg, var(--accent, #d9c2e8), #fff7ef);
|
|
box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.reveal-art .cover-fallback {
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.reveal-note {
|
|
max-width: 400px;
|
|
margin: 0 auto 18px;
|
|
color: var(--ink-soft);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.key-box {
|
|
margin: 0 0 18px;
|
|
padding: 14px 16px;
|
|
border: 1px dashed rgba(176, 133, 69, 0.45);
|
|
border-radius: 18px;
|
|
background: #fff6e3;
|
|
text-align: left;
|
|
}
|
|
|
|
.key-box-label {
|
|
margin: 0 0 8px;
|
|
color: #8a6a34;
|
|
font-size: 0.7rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.key-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.key-value {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 12px 14px;
|
|
border: 1px solid rgba(176, 133, 69, 0.35);
|
|
border-radius: 10px;
|
|
background: #fffdf9;
|
|
color: var(--ink);
|
|
font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
|
|
font-size: 0.98rem;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.key-copy {
|
|
flex: 0 0 auto;
|
|
min-height: 44px;
|
|
background: var(--yellow);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.key-help {
|
|
margin: 8px 0 0;
|
|
color: #8a7351;
|
|
font-size: 0.76rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.reveal-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.reveal-actions .primary-btn,
|
|
.reveal-actions .secondary-btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.confirm-card p {
|
|
color: var(--ink-soft);
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.confirm-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 26px;
|
|
z-index: 80;
|
|
max-width: calc(100vw - 40px);
|
|
padding: 12px 20px;
|
|
border-radius: 999px;
|
|
background: rgba(70, 59, 68, 0.94);
|
|
color: #fff;
|
|
font-size: 0.88rem;
|
|
text-align: center;
|
|
box-shadow: 0 12px 30px -16px #000;
|
|
transform: translateX(-50%);
|
|
animation: rise 0.25s ease;
|
|
}
|
|
|
|
|
|
.wrong {
|
|
animation: nudge 0.5s ease;
|
|
}
|
|
|
|
|
|
@keyframes drift {
|
|
from { transform: translateX(0); }
|
|
to { transform: translateX(28px); }
|
|
}
|
|
|
|
@keyframes sway {
|
|
0%, 100% { transform: translateY(0) rotate(-2deg); }
|
|
50% { transform: translateY(-9px) rotate(2deg); }
|
|
}
|
|
|
|
@keyframes bob {
|
|
0%, 100% { transform: translateY(0); }
|
|
50% { transform: translateY(-7px); }
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 0.55; transform: scale(0.9); }
|
|
50% { opacity: 1; transform: scale(1.15); }
|
|
}
|
|
|
|
@keyframes twinkle {
|
|
0%, 100% { opacity: 0.25; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
@keyframes jar-glow {
|
|
0%, 100% { opacity: 0.7; transform: scale(0.98); }
|
|
50% { opacity: 1; transform: scale(1.03); }
|
|
}
|
|
|
|
@keyframes drop {
|
|
from { opacity: 0; transform: translate(-50%, -14px) scale(0.7); }
|
|
35% { opacity: 1; }
|
|
to { opacity: 0; transform: translate(-50%, 26px) scale(1); }
|
|
}
|
|
|
|
@keyframes line-in {
|
|
from { opacity: 0; stroke-dasharray: 140; stroke-dashoffset: 140; }
|
|
to { opacity: 1; stroke-dasharray: 140; stroke-dashoffset: 0; }
|
|
}
|
|
|
|
@keyframes nudge {
|
|
0%, 100% { box-shadow: 0 0 0 0 rgba(200, 80, 110, 0); }
|
|
30% { box-shadow: 0 0 0 7px rgba(200, 80, 110, 0.24); }
|
|
65% { box-shadow: 0 0 0 3px rgba(200, 80, 110, 0.12); }
|
|
}
|
|
|
|
@keyframes pop {
|
|
0% { transform: scale(0.4); opacity: 0; }
|
|
70% { transform: scale(1.12); opacity: 1; }
|
|
100% { transform: scale(1); opacity: 1; }
|
|
}
|
|
|
|
@keyframes card-match {
|
|
0% { transform: scale(1); }
|
|
45% { transform: scale(1.06); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
@keyframes flicker {
|
|
0%, 100% { transform: translateX(-50%) scale(1); }
|
|
40% { transform: translateX(-50%) scale(0.94) rotate(-2deg); }
|
|
70% { transform: translateX(-50%) scale(1.05) rotate(2deg); }
|
|
}
|
|
|
|
@keyframes fade-in {
|
|
from { opacity: 0; }
|
|
to { opacity: 1; }
|
|
}
|
|
|
|
@keyframes rise {
|
|
from { opacity: 0; transform: translateY(14px) scale(0.98); }
|
|
to { opacity: 1; transform: translateY(0) scale(1); }
|
|
}
|
|
|
|
@keyframes fall {
|
|
to {
|
|
transform: translate(var(--drift, 0), 110vh) rotate(720deg);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
|
|
@media (max-width: 760px) {
|
|
.topbar {
|
|
width: calc(100% - 20px);
|
|
gap: 8px;
|
|
padding: 8px;
|
|
}
|
|
|
|
.progress-label {
|
|
font-size: 0.66rem;
|
|
}
|
|
|
|
.pill-btn {
|
|
min-height: 36px;
|
|
padding: 7px 12px;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.screen {
|
|
width: calc(100% - 24px);
|
|
}
|
|
|
|
.welcome {
|
|
padding-bottom: 150px;
|
|
}
|
|
|
|
.welcome h1 {
|
|
font-size: clamp(2.8rem, 12vw, 4.6rem);
|
|
}
|
|
|
|
.garden-path {
|
|
grid-auto-flow: row;
|
|
grid-auto-columns: auto;
|
|
gap: 10px;
|
|
padding: 10px 0 20px;
|
|
}
|
|
|
|
.garden-path::before {
|
|
top: 26px;
|
|
bottom: 26px;
|
|
left: 39px;
|
|
right: auto;
|
|
border-top: none;
|
|
border-left: 4px dashed rgba(122, 106, 115, 0.26);
|
|
}
|
|
|
|
.map-node,
|
|
.map-node:nth-child(even),
|
|
.map-node:nth-child(odd) {
|
|
flex-direction: row;
|
|
justify-content: flex-start;
|
|
gap: 14px;
|
|
padding: 4px 0;
|
|
text-align: left;
|
|
transform: none;
|
|
}
|
|
|
|
.node-circle {
|
|
flex: 0 0 auto;
|
|
width: 78px;
|
|
height: 78px;
|
|
}
|
|
|
|
.node-label {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.node-text {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.shelf-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
|
|
}
|
|
|
|
.map-footer {
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.bouquet-scene {
|
|
grid-template-columns: 1fr;
|
|
grid-template-areas:
|
|
"pattern"
|
|
"vase"
|
|
"garden";
|
|
gap: 10px;
|
|
}
|
|
|
|
.cake {
|
|
width: min(340px, 88vw);
|
|
}
|
|
|
|
.memory-grid {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.memory-scene {
|
|
padding: 14px;
|
|
}
|
|
|
|
.leaf {
|
|
width: 54px;
|
|
height: 54px;
|
|
font-size: 1.9rem;
|
|
}
|
|
|
|
.leaf-basket {
|
|
width: 140px;
|
|
height: 112px;
|
|
}
|
|
|
|
.cake-slot {
|
|
width: 46px;
|
|
height: 46px;
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.topping {
|
|
min-width: 58px;
|
|
padding: 7px 8px;
|
|
}
|
|
|
|
.stage {
|
|
border-radius: 24px;
|
|
}
|
|
|
|
.overlay-card {
|
|
padding: 22px 18px;
|
|
}
|
|
|
|
.cloud-c {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.key-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.key-copy {
|
|
width: 100%;
|
|
}
|
|
|
|
.tool-row {
|
|
justify-content: center;
|
|
}
|
|
|
|
.tool-label {
|
|
width: 100%;
|
|
margin: 0 0 2px;
|
|
text-align: center;
|
|
}
|
|
|
|
.pot-row {
|
|
gap: 2px;
|
|
}
|
|
|
|
.stage {
|
|
min-height: 460px;
|
|
}
|
|
|
|
.shelf-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
|
|
}
|
|
|
|
.vase-slots {
|
|
max-width: 280px;
|
|
}
|
|
|
|
.vase-slot {
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
|
|
.vase {
|
|
width: 150px;
|
|
height: 112px;
|
|
}
|
|
|
|
.pattern-flower {
|
|
width: 38px;
|
|
height: 38px;
|
|
}
|
|
|
|
.finale-card-title {
|
|
font-size: 0.72rem;
|
|
}
|
|
|
|
.welcome-flowers {
|
|
gap: 6px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.001ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.001ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
|
|
.confetti-layer {
|
|
display: none;
|
|
}
|
|
}
|