.screen.point-allocation { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 1rem; width: 100%; .allocation-input { display: flex; gap: 0; height: calc(2rem * var(--ratio)); border: 0.0625rem solid var(--grade-color); color: var(--grade-color); box-sizing: border-box; width: 100%; transition: all 0.2s ease-in-out; button { --style-color: var(--grade-color); flex: 1 0; padding: 0; margin: 0; height: 100%; border: none; text-align: center; } input { flex: 1 0; height: 100%; width: 2rem; font-weight: bold; color: var(--grade-color); transition: all 0.2s ease-in-out; } } .points-detail { min-width: 100%; color: var(--color-primary); display: flex; position: absolute; flex-direction: column; white-space: nowrap; background: var(--base-background-color); border: 0.0625rem solid var(--color-primary); box-sizing: border-box; top: 0; left: 0; transform: translateY(-100%); margin: 0; font-size: calc(1rem * var(--ratio-font)); li { display: flex; justify-content: space-between; align-items: center; height: calc(2rem * var(--ratio)); padding: 0 0.5rem; gap: 0.5rem; } li:not(:first-child) { border-top: 0.0625rem solid var(--color-primary); } } > ul.alloc { display: flex; flex-direction: row; justify-content: center; gap: 0.5rem; padding: 0; margin: 0; list-style: none; width: 100%; font-size: calc(1rem * var(--ratio-font)); > li { flex: 1 0; display: flex; position: relative; flex-direction: column; align-items: center; justify-content: center; gap: 0; > span { width: 100%; height: calc(2rem * var(--ratio)); color: var(--grade-color); background: var(--base-background-color); border: 0.0625rem solid var(--grade-color); border-bottom: none; display: flex; justify-content: center; align-items: center; box-sizing: border-box; font-weight: bold; transition: all 0.2s ease-in-out; } > span.name { color: var(--base-background-color); background: var(--grade-color); } } > li.left { --left-color: var(--color-error); &.left-0 { --left-color: var(--color-primary); } > span { background: var(--left-color); border: 0.0625rem solid var(--left-color); } > button { --style-color: var(--left-color); flex: 1; font-size: calc(1rem * var(--ratio-font)); height: calc(2rem * var(--ratio)); width: 6rem; padding: 0; } } } > ul.talent-list { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; li { width: 100%; } } }