Update spacetime-client bindings and frontend

Large update across server and web clients: regenerated/added many spacetime-client module bindings and input types (including new delete/work_delete input types and numerous procedure/reducer files), updates to server-rs API modules (bark_battle, jump_hop, wooden_fish, auth, module-runtime and shared contracts), and fixes in module-runtime behavior and domain logic. Frontend changes include new/updated components and tests (creative audio helpers, bark-battle/jump-hop/wooden-fish clients and views, unified generation pages, RPG entry views, and runtime shells), plus CSS and service updates. Documentation and operational notes updated (.hermes pitfalls and multiple PRD/docs) to cover daily-task refresh, banner asset fallback, recommend-key bug, and other platform behaviors. Tests and verification steps added/updated alongside these changes.
This commit is contained in:
2026-06-04 22:44:19 +08:00
parent 2678954627
commit 27b30f974b
326 changed files with 4374 additions and 2539 deletions

View File

@@ -5731,15 +5731,15 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-page {
gap: 0.75rem;
gap: 0.65rem;
}
.platform-profile-header {
position: relative;
overflow: hidden;
padding: 1.05rem 0.95rem 0.9rem;
padding: 0.95rem 0.9rem 0.78rem;
border: 1px solid rgba(255, 255, 255, 0.62);
border-radius: 1.8rem;
border-radius: 1.55rem;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.96),
@@ -5777,9 +5777,9 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
z-index: 1;
display: flex;
flex-direction: column;
gap: 0.75rem;
gap: 0.62rem;
min-width: 0;
padding-top: 0.2rem;
padding-top: 0.1rem;
padding-right: 4.25rem;
}
@@ -5787,8 +5787,8 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1.85rem;
height: 1.85rem;
width: 1.45rem;
height: 1.45rem;
border: 1px solid rgba(210, 185, 166, 0.7);
border-radius: 9999px;
background: rgba(255, 255, 255, 0.78);
@@ -5813,10 +5813,10 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
position: relative;
display: flex;
align-items: center;
gap: 0.85rem;
gap: 0.75rem;
width: 100%;
min-height: 6.7rem;
padding: 1rem 1rem 1rem 0.95rem;
min-height: 5.9rem;
padding: 0.82rem 0.9rem 0.82rem 0.85rem;
border: 0;
border-radius: 1.55rem;
background: linear-gradient(135deg, #eaa06a, #cf7a4a 58%, #b55c3b);
@@ -5829,8 +5829,8 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
display: inline-flex;
align-items: center;
justify-content: center;
width: 4rem;
height: 4rem;
width: 3.45rem;
height: 3.45rem;
flex: none;
border-radius: 1.1rem;
background: rgba(255, 245, 233, 0.26);
@@ -5838,13 +5838,13 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-membership-card__crown {
width: 1.9rem;
height: 1.9rem;
width: 1.65rem;
height: 1.65rem;
}
.platform-profile-membership-card__action {
flex: none;
padding: 0.92rem 1.05rem;
padding: 0.66rem 0.86rem;
border: 1px solid rgba(255, 250, 244, 0.88);
border-radius: 9999px;
color: white;
@@ -5864,7 +5864,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-stats-panel {
padding: 1rem 0.9rem;
padding: 0.78rem 0.72rem;
}
.platform-profile-stat-card {
@@ -5879,8 +5879,8 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.35rem;
height: 2.35rem;
width: 2.1rem;
height: 2.1rem;
flex: none;
border-radius: 9999px;
background: rgba(255, 243, 230, 0.9);
@@ -5916,10 +5916,10 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
.platform-profile-daily-task-card {
display: flex;
align-items: center;
gap: 0.85rem;
gap: 0.75rem;
width: 100%;
min-height: 8rem;
padding: 1rem 1rem 1rem 1.05rem;
min-height: 6.8rem;
padding: 0.82rem 0.9rem 0.82rem 0.95rem;
border: 1px solid rgba(235, 221, 208, 0.82);
border-radius: 1.55rem;
background: rgba(255, 250, 246, 0.9);
@@ -5929,7 +5929,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
.platform-profile-daily-task-card__track {
display: inline-flex;
width: 9rem;
width: min(8rem, 42vw);
height: 0.45rem;
overflow: hidden;
border-radius: 9999px;
@@ -5944,31 +5944,20 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-daily-task-card__mascot {
width: 7.4rem;
width: 6.3rem;
height: auto;
align-self: end;
margin-bottom: -0.2rem;
}
.platform-profile-daily-task-card__action {
flex: none;
padding: 0.85rem 1.15rem;
border-radius: 9999px;
background: linear-gradient(135deg, #f08b44, #e56a27);
color: white;
font-size: 14px;
font-weight: 700;
box-shadow: 0 12px 24px rgba(229, 106, 39, 0.24);
}
.platform-profile-shortcut-panel {
padding: 0.95rem 0.85rem 1rem;
padding: 0.78rem 0.68rem 0.82rem;
}
.platform-profile-shortcut-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 0.25rem;
gap: 0.2rem;
}
.platform-profile-shortcut-button {
@@ -5981,8 +5970,8 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.65rem;
height: 2.65rem;
width: 2.35rem;
height: 2.35rem;
border-radius: 9999px;
background: linear-gradient(
135deg,
@@ -6019,7 +6008,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-settings-panel {
padding: 0.2rem 0;
padding: 0.1rem 0;
}
.platform-profile-settings-row {
@@ -6035,8 +6024,8 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
display: inline-flex;
align-items: center;
justify-content: center;
width: 2.35rem;
height: 2.35rem;
width: 2.05rem;
height: 2.05rem;
flex: none;
border-radius: 9999px;
background: rgba(255, 245, 234, 0.95);
@@ -6083,12 +6072,12 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
@media (max-width: 639px) {
.platform-profile-page {
gap: 0.82rem;
gap: 0.68rem;
}
.platform-profile-header {
padding: 0.95rem 0.85rem 0.82rem;
border-radius: 1.4rem;
padding: 0.82rem 0.78rem 0.72rem;
border-radius: 1.22rem;
}
.platform-profile-header__identity {
@@ -6098,7 +6087,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
.platform-profile-header__identity-row {
align-items: flex-start;
gap: 0.78rem;
gap: 0.68rem;
}
.platform-profile-header__text {
@@ -6107,12 +6096,12 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-header__name {
font-size: clamp(1rem, 4.8vw, 1.2rem);
font-size: clamp(0.98rem, 4.4vw, 1.12rem);
line-height: 1.15;
}
.platform-profile-header__code {
margin-top: 0.55rem;
margin-top: 0.42rem;
font-size: 11px;
line-height: 1.4;
}
@@ -6129,28 +6118,28 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-membership-card {
min-height: 5.85rem;
padding: 0.78rem 0.82rem;
gap: 0.72rem;
min-height: 5.25rem;
padding: 0.66rem 0.72rem;
gap: 0.62rem;
}
.platform-profile-membership-card__badge {
width: 3.2rem;
height: 3.2rem;
width: 2.85rem;
height: 2.85rem;
}
.platform-profile-membership-card__title {
font-size: 1rem;
font-size: 0.94rem;
}
.platform-profile-membership-card__subtitle {
margin-top: 0.4rem;
font-size: 12px;
margin-top: 0.3rem;
font-size: 11px;
line-height: 1.45;
}
.platform-profile-membership-card__action {
padding: 0.64rem 0.78rem;
padding: 0.5rem 0.62rem;
font-size: 11px;
}
@@ -6162,7 +6151,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-stats-panel {
padding: 0.72rem 0.66rem;
padding: 0.62rem 0.56rem;
}
.platform-profile-stats-grid {
@@ -6170,19 +6159,19 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-stat-card {
min-height: 4.95rem;
min-height: 4.45rem;
align-items: center;
gap: 0.56rem;
padding: 0.55rem 0.42rem;
padding: 0.48rem 0.34rem;
}
.platform-profile-stat-card__icon {
width: 1.95rem;
height: 1.95rem;
width: 1.75rem;
height: 1.75rem;
}
.platform-profile-stat-card__value {
font-size: 0.95rem;
font-size: 0.88rem;
line-height: 1.08;
max-width: 100%;
overflow: hidden;
@@ -6192,7 +6181,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
.platform-profile-stat-card__label {
margin-top: 0.22rem;
font-size: 11px;
font-size: 10px;
line-height: 1.18;
max-width: 100%;
overflow: hidden;
@@ -6201,18 +6190,18 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-daily-task-card {
min-height: 6.55rem;
padding: 0.8rem 0.8rem 0.8rem 0.86rem;
min-height: 5.75rem;
padding: 0.68rem 0.72rem 0.68rem 0.76rem;
border-radius: 1.12rem;
gap: 0.7rem;
gap: 0.58rem;
}
.platform-profile-daily-task-card__track {
width: min(7rem, 52vw);
width: min(7.8rem, 48vw);
}
.platform-profile-daily-task-card__mascot {
width: min(5.2rem, 24vw);
width: min(4.6rem, 21vw);
}
.platform-profile-daily-task-card__title {
@@ -6235,17 +6224,17 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-shortcut-panel {
padding: 0.78rem 0.66rem 0.8rem;
padding: 0.64rem 0.54rem 0.68rem;
}
.platform-profile-shortcut-grid {
gap: 0.12rem;
gap: 0.08rem;
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.platform-profile-shortcut-button {
min-height: 4.35rem;
padding: 0.48rem 0.08rem 0.52rem;
min-height: 4rem;
padding: 0.42rem 0.06rem 0.44rem;
}
.platform-profile-shortcut-button__label {
@@ -6267,8 +6256,8 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-shortcut-button__icon {
width: 2.12rem;
height: 2.12rem;
width: 1.96rem;
height: 1.96rem;
}
.platform-profile-settings-panel {
@@ -6276,7 +6265,7 @@ html[data-mobile-keyboard-open='true'] .platform-mobile-bottom-dock {
}
.platform-profile-settings-row {
padding: 0.72rem 0.8rem;
padding: 0.62rem 0.74rem;
}
.platform-profile-settings-row__icon {