page { background-color: #f6f6f6; } .page-container { background-color: #f6f6f6; padding: 0 24rpx; box-sizing: border-box; .empty { height: 120rpx; } } .wrapper { background-color: #ffffff; border-radius: 20rpx; padding: 36rpx 24rpx; box-shadow: 0 6rpx 8rpx rgba(0, 0, 0, 0.15); margin: 30rpx 0; display: flex; flex-direction: column; .wrapper-title { font-size: 32rpx; color: #141414; margin-bottom: 36rpx; font-weight: bold; text-align: center; } .word-card-box { padding: 34rpx 0; .word-cards-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40rpx; } } .word-input-box { display: flex; flex-direction: row; justify-content: flex-start; margin-bottom: 24rpx; } .action-buttons-box { display: flex; flex-direction: row; justify-content: space-between; gap: 20rpx; margin-bottom: 24rpx; } } .tianzige { display: grid; grid-auto-rows: min-content; row-gap: 12rpx; } .tzg-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 12rpx; } .tzg-cell { position: relative; background: #fff; border: 4rpx solid #333; height: 120rpx; border-radius: 6rpx; overflow: hidden; } .tzg-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 72rpx; color: #222; font-family: 'Kaiti', 'KaiTi', 'STKaiti', 'FZKai-Z03S', serif; } .mid-line { position: absolute; background: repeating-linear-gradient(to right, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25) 2rpx, transparent 2rpx, transparent 6rpx); } .mid-line.h { left: 0; right: 0; top: 50%; height: 2rpx; transform: translateY(-50%); } .mid-line.v { top: 0; bottom: 0; left: 50%; width: 2rpx; transform: translateX(-50%); } .empty-tip { text-align: center; color: #999; font-size: 28rpx; } .canvas-wrapper { display: flex; justify-content: center; align-items: center; min-height: 400rpx; background: #f8f9fa; border-radius: 12rpx; border: 2rpx dashed #dee2e6; } .canvas-content { max-width: 100%; border-radius: 8rpx; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); overflow: hidden; } .bottom-btn-box { position: fixed; left: 0; bottom: 0; width: 100%; height: 120rpx; display: flex; justify-content: space-between; align-items: center; background-color: #fff; box-shadow: 0px -3.9rpx 5.2rpx rgba(0, 0, 0, 0.15); padding: 0 24rpx; box-sizing: border-box; border-radius: 16rpx 16rpx 0 0; }