Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ The home page lists one **Games Hub** card (`games/`). Individual games live on
- **More Dots** (`games/more/`) — two panels of dots; tap Left, Equal, or Right for the side with more; counts get closer and view time shrinks with the streak; best streak
- **Glow Grid** (`games/glow/`) — 12-level logic puzzle from 3×3 to 5×5; each tap flips a cell and its four neighbours, light every cell; par-move and time bonuses, pause and restart; best total score
- **Echo Path** (`games/echo/`) — staged memory game; watch a path of adjacent cells light up, then trace it in order; one step longer per stage, grid grows 3×3 → 5×5, three lives, combo multiplier up to ×5, pause and restart; best score
- **Number Forge** (`games/forge/`) — target-number puzzle; tap a tile, a sign, and a second tile to merge them, and make the target; Journey runs 15 puzzles over 5 tiers (3 → 5 tiles, × then ÷ unlock, 3 skips), Blitz is 2 minutes (+5s per solve); par and speed bonuses, clean-streak bonus, undo/reset/hint, results summary; best score per mode

#### Casual Quiz (unlisted)

Expand Down
158 changes: 158 additions & 0 deletions assets/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -1837,3 +1837,161 @@ body[data-tool="collab"] .site-footer { display: none; }
color: var(--color-accent);
}
.lv-lives { letter-spacing: 0.15em; }

/* Number Forge */
.nf-board {
display: flex;
flex-direction: column;
gap: 0.85rem;
width: 100%;
}
.nf-board[hidden] { display: none; }
.nf-target {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.15rem;
padding: 0.7rem 0.75rem 0.8rem;
background: var(--color-card);
border: 1px solid var(--color-line);
border-radius: var(--radius);
}
.nf-target-label {
font-size: 0.72rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--color-muted);
text-align: center;
}
.nf-target-num {
font-size: clamp(2.2rem, 10vw, 3rem);
font-weight: 900;
line-height: 1.1;
color: var(--color-accent);
font-variant-numeric: tabular-nums;
}
.nf-tiles {
display: grid;
grid-template-columns: repeat(var(--count, 3), minmax(0, 84px));
justify-content: center;
gap: 0.5rem;
min-height: 64px;
}
.nf-tile {
min-width: 44px;
min-height: 64px;
padding: 0 0.15rem;
border-radius: 12px;
border: 1px solid var(--color-line);
background: linear-gradient(145deg, #1c2844, #121a2c);
color: var(--color-text);
font-family: inherit;
font-size: clamp(1.05rem, 5vw, 1.5rem);
font-weight: 800;
font-variant-numeric: tabular-nums;
overflow-wrap: anywhere;
cursor: pointer;
transition: background 0.12s ease, border-color 0.12s ease, transform 0.08s ease;
}
.nf-tile:hover:not(:disabled) { border-color: rgba(255, 195, 0, 0.5); }
.nf-tile:active:not(:disabled) { transform: scale(0.96); }
.nf-tile:disabled { cursor: default; }
.nf-tile.is-picked {
background: linear-gradient(145deg, #c9a000, #ffc300);
border-color: #ffc300;
color: var(--color-bg);
}
.nf-tile.is-hint {
outline: 2px dashed var(--color-accent);
outline-offset: 2px;
}
.nf-tile.is-goal {
background: linear-gradient(145deg, #15803d, #4ade80);
border-color: #86efac;
color: var(--color-bg);
}
.nf-tile.is-new { animation: nf-pop 0.22s ease-out; }
@keyframes nf-pop {
from { transform: scale(0.82); }
to { transform: scale(1); }
}
.nf-ops {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.5rem;
}
.nf-op {
min-height: 56px;
border-radius: 12px;
border: 1px solid var(--color-line);
background: var(--color-card);
color: var(--color-text);
font-family: inherit;
font-size: 1.6rem;
font-weight: 800;
line-height: 1;
cursor: pointer;
}
.nf-op:hover:not(:disabled) { border-color: rgba(255, 195, 0, 0.5); color: var(--color-accent); }
.nf-op:disabled { opacity: 0.35; cursor: default; }
.nf-op.is-picked {
background: rgba(255, 195, 0, 0.16);
border-color: var(--color-accent);
color: var(--color-accent);
}
.nf-tools {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 0.45rem;
}
.nf-tools .btn { padding-left: 0.3rem; padding-right: 0.3rem; }
.nf-log {
margin: 0;
padding: 0;
list-style: none;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.35rem 0.5rem;
min-height: 1.6rem;
font-size: 0.8rem;
color: var(--color-muted);
font-variant-numeric: tabular-nums;
}
.nf-log li {
padding: 0.15rem 0.5rem;
border: 1px solid var(--color-line);
border-radius: 999px;
}
.nf-results {
padding: 1rem 1.1rem 1.1rem;
background: var(--color-card);
border: 1px solid var(--color-line);
border-radius: var(--radius);
text-align: center;
}
.nf-results[hidden] { display: none; }
.nf-results-title {
margin: 0 0 0.75rem;
font-size: 1.15rem;
color: var(--color-accent);
}
.nf-results-list {
display: grid;
grid-template-columns: 1fr auto;
gap: 0.4rem 1rem;
margin: 0 0 1rem;
font-size: 0.88rem;
text-align: left;
}
.nf-results-list dt { color: var(--color-muted); }
.nf-results-list dd {
margin: 0;
font-weight: 800;
color: var(--color-text);
font-variant-numeric: tabular-nums;
}
@media (prefers-reduced-motion: reduce) {
.nf-tile.is-new { animation: none; }
}
Loading
Loading