1231 lines
35 KiB
CSS
1231 lines
35 KiB
CSS
/* CSS split file; preserve manifest load order. */
|
|
.tool-tip-popover {
|
|
position: fixed;
|
|
z-index: 2147483000;
|
|
width: fit-content;
|
|
min-width: min(160px, calc(100vw - 18px));
|
|
max-width: min(620px, calc(100vw - 18px));
|
|
box-sizing: border-box;
|
|
padding: 7px 9px;
|
|
border-radius: 10px;
|
|
background: rgba(46, 38, 30, 0.78);
|
|
color: #fff8e6;
|
|
font-family: "Yomogi", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
box-shadow: 0 10px 28px rgba(40, 32, 22, 0.18);
|
|
backdrop-filter: blur(1px);
|
|
text-shadow: 0 1px 3px rgba(25, 18, 12, 0.55);
|
|
pointer-events: none;
|
|
white-space: pre-line;
|
|
overflow-wrap: anywhere;
|
|
word-break: break-word;
|
|
}
|
|
.tool-tip-popover.hidden { display: none; }
|
|
.selected-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin: 8px 0 4px;
|
|
}
|
|
.favorite-toggle {
|
|
border: 1px solid rgba(128, 102, 56, 0.32);
|
|
border-radius: 999px;
|
|
background: rgba(255, 248, 221, 0.92);
|
|
color: #5a4630;
|
|
font-weight: 700;
|
|
padding: 5px 10px;
|
|
cursor: pointer;
|
|
}
|
|
.favorite-toggle.active {
|
|
background: rgba(255, 229, 122, 0.95);
|
|
border-color: rgba(180, 132, 34, 0.55);
|
|
}
|
|
|
|
.selected-records {
|
|
margin-top: 8px;
|
|
padding-top: 7px;
|
|
border-top: 1px dashed rgba(126, 96, 64, 0.24);
|
|
}
|
|
.selected-records h3 {
|
|
margin: 0 0 5px;
|
|
font-size: 12px;
|
|
color: var(--muted);
|
|
}
|
|
.selected-records ol {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
.selected-records li {
|
|
display: grid;
|
|
grid-template-columns: 38px 1fr;
|
|
gap: 6px;
|
|
align-items: start;
|
|
font-size: 11px;
|
|
line-height: 1.35;
|
|
}
|
|
.selected-records li span {
|
|
color: var(--muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.selected-records li strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.selected-change-list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
display: grid;
|
|
gap: 4px;
|
|
}
|
|
.selected-change-list li {
|
|
display: grid;
|
|
grid-template-columns: minmax(72px, 0.85fr) minmax(120px, 1.3fr) 34px;
|
|
gap: 6px;
|
|
align-items: start;
|
|
font-size: 11px;
|
|
line-height: 1.35;
|
|
}
|
|
.selected-change-list span {
|
|
color: var(--muted);
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.selected-change-list strong,
|
|
.selected-change-list em {
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
.selected-change-list strong {
|
|
font-weight: 650;
|
|
}
|
|
.selected-change-list em {
|
|
color: var(--muted);
|
|
font-style: normal;
|
|
line-height: 1.28;
|
|
}
|
|
|
|
.relation-list-row {
|
|
align-items: start;
|
|
}
|
|
.relation-list-row > strong {
|
|
min-width: 0;
|
|
width: 100%;
|
|
justify-content: flex-end;
|
|
}
|
|
.relation-chip-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 5px;
|
|
max-width: 100%;
|
|
}
|
|
.relation-chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
max-width: 138px;
|
|
min-width: 0;
|
|
border: 1px solid rgba(104, 150, 84, 0.24);
|
|
border-radius: 999px;
|
|
background: rgba(250, 255, 242, 0.88);
|
|
color: #4d6140;
|
|
padding: 2px 6px 2px 2px;
|
|
font: inherit;
|
|
font-size: 11px;
|
|
line-height: 1.2;
|
|
cursor: pointer;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,0.74);
|
|
}
|
|
.relation-chip.enemy {
|
|
border-color: rgba(178, 92, 74, 0.28);
|
|
background: rgba(255, 246, 240, 0.92);
|
|
color: #754739;
|
|
}
|
|
.relation-chip:hover,
|
|
.relation-chip:focus-visible {
|
|
transform: translateY(-1px);
|
|
background: rgba(255,255,255,0.98);
|
|
outline: 2px solid rgba(118, 186, 72, 0.18);
|
|
}
|
|
.relation-chip.enemy:hover,
|
|
.relation-chip.enemy:focus-visible {
|
|
outline-color: rgba(190, 92, 72, 0.18);
|
|
}
|
|
.relation-chip .relation-face {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.relation-chip-name {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
min-width: 0;
|
|
}
|
|
.relation-chip em {
|
|
font-style: normal;
|
|
font-size: 10px;
|
|
opacity: 0.72;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
|
|
.loading-screen {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 1000;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 20px;
|
|
background: radial-gradient(circle at top, rgba(255,251,243,0.98), rgba(245,238,225,0.96) 56%, rgba(234,225,208,0.98));
|
|
transition: opacity .22s ease, visibility .22s ease;
|
|
}
|
|
.loading-screen.hidden {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
.loading-kicker {
|
|
font-size: 12px;
|
|
letter-spacing: 0.14em;
|
|
color: rgba(116, 96, 76, 0.82);
|
|
margin-bottom: 6px;
|
|
}
|
|
.loading-title {
|
|
margin: 0 0 8px;
|
|
font-size: 28px;
|
|
color: #3f3429;
|
|
}
|
|
.loading-text {
|
|
margin: 0 0 12px;
|
|
color: rgba(90, 74, 58, 0.86);
|
|
}
|
|
.loading-sprite-strip {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 10px;
|
|
margin: 8px 0 14px;
|
|
}
|
|
.loading-sprite-card {
|
|
border-radius: 16px;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(248,243,232,0.90));
|
|
border: 1px solid rgba(126, 104, 80, 0.12);
|
|
min-height: 92px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 8px;
|
|
box-shadow: 0 8px 18px rgba(83, 63, 44, 0.06);
|
|
}
|
|
.loading-sprite-card img {
|
|
width: 68px;
|
|
height: 68px;
|
|
object-fit: contain;
|
|
}
|
|
.loading-progress-track {
|
|
width: 100%;
|
|
height: 14px;
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
background: rgba(132, 164, 217, 0.16);
|
|
border: 1px solid rgba(92, 126, 181, 0.14);
|
|
}
|
|
.loading-progress-bar {
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, #92d1ff, #a3dfa0 58%, #ffe192);
|
|
transition: width .18s ease;
|
|
}
|
|
.loading-progress-meta {
|
|
margin-top: 8px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 12px;
|
|
color: rgba(88, 73, 60, 0.82);
|
|
}
|
|
|
|
.collapsible-card {
|
|
padding-top: 10px;
|
|
}
|
|
.panel-card-toggle {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
border: 0;
|
|
border-radius: 14px;
|
|
padding: 10px 12px;
|
|
cursor: pointer;
|
|
font: inherit;
|
|
color: var(--ink);
|
|
background: rgba(255,255,255,0.48);
|
|
box-shadow: inset 0 1px 0 rgba(255,255,255,0.54);
|
|
}
|
|
.panel-card-title {
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
.panel-card-state {
|
|
font-size: 12px;
|
|
color: rgba(98, 82, 64, 0.78);
|
|
padding-left: 16px;
|
|
position: relative;
|
|
}
|
|
.panel-card-state::before {
|
|
content: "\25be ";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 50%;
|
|
transform: translateY(-52%);
|
|
color: rgba(98, 82, 64, 0.72);
|
|
}
|
|
.collapsible-card.collapsed .panel-card-state::before { content: "\25b8 "; }
|
|
.collapsible-card.collapsed .panel-card-body { display: none; }
|
|
.panel-card-body { padding-top: 12px; }
|
|
|
|
.tool-card {
|
|
background: linear-gradient(180deg, rgba(255,247,252,0.92), rgba(249,240,249,0.90));
|
|
border-color: rgba(200, 153, 186, 0.34);
|
|
}
|
|
.colony-card {
|
|
background: linear-gradient(180deg, rgba(244,250,238,0.92), rgba(235,246,230,0.90));
|
|
border-color: rgba(132, 178, 128, 0.34);
|
|
}
|
|
.log-card {
|
|
background: linear-gradient(180deg, rgba(255,246,238,0.92), rgba(252,239,226,0.90));
|
|
border-color: rgba(207, 157, 121, 0.34);
|
|
}
|
|
.tool-card .panel-card-toggle {
|
|
background: linear-gradient(180deg, rgba(255,239,248,0.82), rgba(253,234,246,0.84));
|
|
}
|
|
.colony-card .panel-card-toggle {
|
|
background: linear-gradient(180deg, rgba(240,252,237,0.82), rgba(230,247,228,0.86));
|
|
}
|
|
.log-card .panel-card-toggle {
|
|
background: linear-gradient(180deg, rgba(255,242,231,0.84), rgba(253,235,220,0.86));
|
|
}
|
|
.tool-card .tool-category {
|
|
background: rgba(255,255,255,0.40);
|
|
border-color: rgba(165,118,150,0.14);
|
|
}
|
|
.colony-card .stat {
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.68), rgba(239,248,234,0.84));
|
|
}
|
|
.colony-card .chart-tabs button.active {
|
|
background: rgba(202, 239, 193, 0.88);
|
|
border-color: rgba(110,168,92,0.38);
|
|
}
|
|
.log-card .log-entry {
|
|
background: rgba(255,250,246,0.86);
|
|
}
|
|
@media (max-width: 920px) {
|
|
.loading-sprite-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
|
}
|
|
|
|
|
|
.log-push-controls {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
border-radius: 14px;
|
|
border: 1px solid rgba(192, 138, 96, 0.24);
|
|
background: rgba(255, 247, 239, 0.74);
|
|
}
|
|
.push-master {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
margin-bottom: 8px;
|
|
}
|
|
.push-kind-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 6px 8px;
|
|
font-size: 11px;
|
|
color: rgba(82, 66, 52, 0.88);
|
|
}
|
|
.push-kind-grid label {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
min-width: 0;
|
|
}
|
|
.push-master input,
|
|
.push-kind-grid input {
|
|
accent-color: #dc966c;
|
|
}
|
|
.log-push-overlay {
|
|
position: fixed;
|
|
left: 16px;
|
|
bottom: 16px;
|
|
z-index: 20000;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
width: min(360px, calc(100vw - 32px));
|
|
pointer-events: none;
|
|
}
|
|
.log-push-toast {
|
|
position: relative;
|
|
border-radius: 16px;
|
|
padding: 10px 12px 10px 14px;
|
|
border: 1px solid rgba(92, 72, 54, 0.18);
|
|
background: rgba(255, 251, 244, 0.96);
|
|
box-shadow: 0 14px 36px rgba(46, 34, 24, 0.20);
|
|
color: #2f271f;
|
|
backdrop-filter: blur(8px);
|
|
animation: logPushIn .18s ease both;
|
|
overflow: hidden;
|
|
}
|
|
.log-push-toast::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 5px;
|
|
background: rgba(146, 122, 92, 0.42);
|
|
}
|
|
.log-push-toast .log-push-tag {
|
|
display: inline-block;
|
|
margin-right: 6px;
|
|
padding: 2px 6px;
|
|
border-radius: 999px;
|
|
background: rgba(238, 224, 204, 0.78);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
.log-push-toast .log-push-time {
|
|
color: rgba(96, 78, 62, 0.72);
|
|
font-size: 10px;
|
|
}
|
|
.log-push-toast .log-push-text {
|
|
margin-top: 5px;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
.log-push-toast.log-push-death::before { background: #8f817a; }
|
|
.log-push-toast.log-push-accident::before { background: #ee9e5d; }
|
|
.log-push-toast.log-push-birth::before { background: #98cf7a; }
|
|
.log-push-toast.log-push-fight::before { background: #e47b80; }
|
|
.log-push-toast.log-push-relation::before { background: #b99be0; }
|
|
.log-push-toast.log-push-food::before { background: #e9bd61; }
|
|
.log-push-toast.log-push-weather::before { background: #7bbbdc; }
|
|
.log-push-toast.log-push-grass::before { background: #8cc77a; }
|
|
.log-push-toast.log-push-event::before { background: #8b82d6; }
|
|
.log-push-toast.leaving {
|
|
animation: logPushOut .18s ease both;
|
|
}
|
|
@keyframes logPushIn {
|
|
from { transform: translateY(14px); opacity: 0; }
|
|
to { transform: translateY(0); opacity: 1; }
|
|
}
|
|
@keyframes logPushOut {
|
|
from { transform: translateY(0); opacity: 1; }
|
|
to { transform: translateY(8px); opacity: 0; }
|
|
}
|
|
|
|
|
|
.selected-info .info-row[data-metric] {
|
|
border-radius: 8px;
|
|
padding: 3px 5px;
|
|
}
|
|
.selected-info .info-row[data-metric="hunger"] { background: rgba(244, 174, 88, 0.10); }
|
|
.selected-info .info-row[data-metric="loneliness"] { background: rgba(116, 150, 214, 0.10); }
|
|
.selected-info .info-row[data-metric="energy"] { background: rgba(104, 184, 96, 0.10); }
|
|
.selected-info .info-row[data-metric="stress"] { background: rgba(214, 104, 88, 0.10); }
|
|
.selected-info .need-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 6px;
|
|
margin: 7px 0 8px;
|
|
}
|
|
.selected-info .need-cell {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 44px;
|
|
padding: 6px 4px;
|
|
border: 1px solid rgba(84,68,48,0.12);
|
|
border-radius: 10px;
|
|
background: rgba(255,255,255,0.42);
|
|
}
|
|
.selected-info .need-cell span { font-size: 11px; color: var(--muted); }
|
|
.selected-info .need-cell strong { font-size: 16px; color: #3f3225; }
|
|
.selected-info .need-cell[data-chosen-need="true"] {
|
|
border-color: rgba(65, 112, 74, 0.58);
|
|
background: rgba(106, 154, 84, 0.20);
|
|
box-shadow: inset 0 0 0 1px rgba(65, 112, 74, 0.18);
|
|
}
|
|
.selected-info .need-cell[data-chosen-need="true"] strong {
|
|
color: #315f32;
|
|
}
|
|
.selected-info .action-reason-row strong { text-align: right; }
|
|
.selected-info .info-row[data-metric="zunchi"] { background: rgba(112, 142, 70, 0.10); }
|
|
.selected-info .info-row[data-metric="mood"] { background: rgba(222, 196, 86, 0.10); }
|
|
.selected-info .info-row[data-metric="lack"] { background: rgba(142, 112, 184, 0.10); }
|
|
.selected-personality-changes {
|
|
align-items: start;
|
|
}
|
|
.selected-personality-changes > strong {
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
.selected-category[data-selected-category="basic"] { background: rgba(246, 236, 214, 0.32); }
|
|
.selected-category[data-selected-category="health"] { background: rgba(232, 246, 222, 0.32); }
|
|
.selected-category[data-selected-category="effects"] { background: rgba(238, 229, 252, 0.28); }
|
|
.selected-category[data-selected-category="personality"] { background: rgba(255, 239, 214, 0.34); }
|
|
.selected-category[data-selected-category="relation"] { background: rgba(224, 240, 252, 0.30); }
|
|
.selected-category[data-selected-category="family"] { background: rgba(246, 226, 236, 0.28); }
|
|
.selected-category[data-selected-category="records"] { background: rgba(242, 238, 226, 0.30); }
|
|
|
|
/* Color-blind safe panel themes and alternating inner tones. */
|
|
.card.tool-card,
|
|
.card.selected-card,
|
|
.card.colony-card,
|
|
.card.log-card {
|
|
--ui-theme-rgb: 102, 102, 102;
|
|
--ui-theme-strong: rgba(var(--ui-theme-rgb), 0.64);
|
|
--ui-theme-mid: rgba(var(--ui-theme-rgb), 0.24);
|
|
--ui-theme-soft: rgba(var(--ui-theme-rgb), 0.105);
|
|
--ui-theme-soft-2: rgba(var(--ui-theme-rgb), 0.165);
|
|
border-color: var(--ui-theme-mid);
|
|
box-shadow: inset 4px 0 0 var(--ui-theme-strong), 0 10px 30px rgba(64, 48, 32, 0.08);
|
|
}
|
|
.card.tool-card { --ui-theme-rgb: 0, 114, 178; background: linear-gradient(180deg, rgba(242, 248, 252, 0.94), rgba(232, 243, 250, 0.91)); }
|
|
.card.selected-card { --ui-theme-rgb: 204, 121, 167; background: linear-gradient(180deg, rgba(253, 245, 250, 0.94), rgba(249, 235, 244, 0.91)); }
|
|
.card.colony-card { --ui-theme-rgb: 0, 158, 115; background: linear-gradient(180deg, rgba(240, 250, 247, 0.94), rgba(229, 245, 239, 0.91)); }
|
|
.card.log-card { --ui-theme-rgb: 230, 159, 0; background: linear-gradient(180deg, rgba(255, 249, 236, 0.94), rgba(253, 242, 215, 0.91)); }
|
|
.card.tool-card .panel-card-toggle,
|
|
.card.colony-card .panel-card-toggle,
|
|
.card.log-card .panel-card-toggle {
|
|
border: 1px solid var(--ui-theme-mid);
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), var(--ui-theme-soft-2));
|
|
}
|
|
.selected-card .selected-head {
|
|
border: 1px solid var(--ui-theme-mid);
|
|
border-radius: 14px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), var(--ui-theme-soft-2));
|
|
padding: 8px 10px;
|
|
}
|
|
.tool-card .tool-category:nth-child(odd),
|
|
.selected-card .selected-category:nth-child(odd) {
|
|
background: var(--ui-theme-soft);
|
|
border-color: var(--ui-theme-mid);
|
|
}
|
|
.tool-card .tool-category:nth-child(even),
|
|
.selected-card .selected-category:nth-child(even) {
|
|
background: var(--ui-theme-soft-2);
|
|
border-color: rgba(var(--ui-theme-rgb), 0.30);
|
|
}
|
|
.tool-card .tool-category-toggle,
|
|
.selected-card .selected-category-toggle {
|
|
background: rgba(255, 255, 255, 0.54);
|
|
border-bottom-color: rgba(var(--ui-theme-rgb), 0.20);
|
|
}
|
|
.tool-card .tool-category:nth-child(even) .tool-category-toggle,
|
|
.selected-card .selected-category:nth-child(even) .selected-category-toggle {
|
|
background: rgba(255, 255, 255, 0.42);
|
|
}
|
|
.tool-card .tool-category-toggle::before,
|
|
.selected-card .selected-category-toggle::before,
|
|
.card .panel-card-state::before {
|
|
color: var(--ui-theme-strong);
|
|
}
|
|
.colony-card .stat:nth-child(odd),
|
|
.colony-card .chart-tabs button:nth-child(odd),
|
|
.log-card .log-entry:nth-child(odd),
|
|
.log-card .push-kind-grid label:nth-child(odd) {
|
|
background: var(--ui-theme-soft);
|
|
border-color: var(--ui-theme-mid);
|
|
}
|
|
.colony-card .stat:nth-child(even),
|
|
.colony-card .chart-tabs button:nth-child(even),
|
|
.log-card .log-entry:nth-child(even),
|
|
.log-card .push-kind-grid label:nth-child(even) {
|
|
background: var(--ui-theme-soft-2);
|
|
border-color: rgba(var(--ui-theme-rgb), 0.30);
|
|
}
|
|
.colony-card .chart-tabs button.active,
|
|
.log-card .push-master,
|
|
.selected-card .selected-name-input:focus {
|
|
border-color: var(--ui-theme-strong);
|
|
outline-color: rgba(var(--ui-theme-rgb), 0.24);
|
|
}
|
|
.colony-card .chart-tabs button.active {
|
|
background: rgba(var(--ui-theme-rgb), 0.22);
|
|
}
|
|
.selected-card .badge,
|
|
.selected-card .personality-tag {
|
|
background: rgba(var(--ui-theme-rgb), 0.11);
|
|
border-color: rgba(var(--ui-theme-rgb), 0.28);
|
|
}
|
|
|
|
|
|
.save-dialog-panel {
|
|
width: min(760px, calc(100vw - 32px));
|
|
max-height: min(86vh, 760px);
|
|
overflow: auto;
|
|
}
|
|
.save-slot-list {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 10px;
|
|
margin: 14px 0;
|
|
}
|
|
.save-slot-row {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr auto;
|
|
gap: 8px;
|
|
align-items: stretch;
|
|
min-height: 132px;
|
|
padding: 10px;
|
|
border: 1px solid rgba(115, 91, 62, 0.20);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.56);
|
|
}
|
|
.save-warning {
|
|
color: #8a4f2f;
|
|
font-weight: 800;
|
|
background: rgba(255, 239, 220, 0.72);
|
|
border: 1px solid rgba(190, 118, 72, 0.22);
|
|
border-radius: 10px;
|
|
padding: 7px 9px;
|
|
}
|
|
.save-slot-title {
|
|
font-weight: 800;
|
|
color: #4f3928;
|
|
}
|
|
.save-slot-meta {
|
|
color: #6d5a46;
|
|
font-size: 13px;
|
|
}
|
|
.save-slot-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
@media (max-width: 720px) {
|
|
.save-slot-list { grid-template-columns: 1fr; }
|
|
}
|
|
.save-slot-actions .btn[disabled] {
|
|
opacity: 0.42;
|
|
pointer-events: none;
|
|
}
|
|
.save-export-panel {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin-top: 14px;
|
|
}
|
|
.save-export-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
.save-hash-text {
|
|
width: 100%;
|
|
min-height: 118px;
|
|
resize: vertical;
|
|
padding: 10px;
|
|
border: 1px solid rgba(115, 91, 62, 0.26);
|
|
border-radius: 12px;
|
|
background: rgba(255,255,255,0.78);
|
|
color: #3e3023;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
}
|
|
/* v39.16.40: compact header menu and folded colony settings. */
|
|
.top-menu { position: relative; display: inline-block; }
|
|
.top-menu-btn {
|
|
min-width: 40px;
|
|
padding-inline: 11px;
|
|
font-size: 20px;
|
|
line-height: 1;
|
|
font-family: system-ui, sans-serif;
|
|
}
|
|
.top-menu-panel {
|
|
position: absolute;
|
|
right: 0;
|
|
top: calc(100% + 8px);
|
|
z-index: 14000;
|
|
width: min(250px, calc(100vw - 20px));
|
|
padding: 8px;
|
|
border: 1px solid rgba(84,68,48,.16);
|
|
border-radius: 16px;
|
|
background: rgba(255,252,246,.98);
|
|
box-shadow: 0 16px 42px rgba(44,34,25,.20);
|
|
display: grid;
|
|
gap: 5px;
|
|
}
|
|
.top-menu-panel.hidden { display: none; }
|
|
.top-menu-item {
|
|
width: 100%;
|
|
min-height: 38px;
|
|
border: 0;
|
|
border-radius: 11px;
|
|
padding: 8px 10px;
|
|
background: transparent;
|
|
color: var(--ink);
|
|
text-align: left;
|
|
font: inherit;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
.top-menu-item:hover,
|
|
.top-menu-item:focus-visible { background: rgba(238,245,225,.88); outline: none; }
|
|
.top-menu-sound { display: block; width: 100%; }
|
|
.top-menu-sound .sound-menu-btn { display: block; border: 0; box-shadow: none; }
|
|
.top-menu-sound .sound-panel {
|
|
position: static;
|
|
width: auto;
|
|
min-width: 0;
|
|
margin: 3px 3px 5px;
|
|
padding: 9px 10px;
|
|
border-radius: 12px;
|
|
box-shadow: none;
|
|
background: rgba(245,240,229,.78);
|
|
}
|
|
|
|
.top-menu-visual { display: block; width: 100%; }
|
|
.sound-panel-subtitle {
|
|
padding: 2px 0 1px;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
letter-spacing: .05em;
|
|
}
|
|
.top-menu-visual .sound-panel label { min-height: 26px; }
|
|
|
|
.reset-top-btn {
|
|
color: #8e2424 !important;
|
|
border-color: rgba(182,69,69,.48) !important;
|
|
background: linear-gradient(180deg, rgba(255,245,245,.96), rgba(255,224,224,.92)) !important;
|
|
font-weight: 800;
|
|
}
|
|
.reset-top-btn:hover { background: linear-gradient(180deg, #fff4f4, #ffd6d6) !important; }
|
|
|
|
|
|
.colony-settings-body { display: grid; gap: 0; }
|
|
.colony-setting-section { padding: 10px; }
|
|
.colony-setting-section + .colony-setting-section { border-top: 1px solid rgba(118,92,61,.12); }
|
|
.colony-setting-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; color: var(--ink); font-size: 12px; font-weight: 800; }
|
|
.colony-setting-section-head strong { font-size: 15px; }
|
|
.colony-setting-section-head small { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 500; }
|
|
|
|
.colony-setting-fold {
|
|
margin: 8px 0 4px;
|
|
border: 1px solid rgba(118,92,61,.16);
|
|
border-radius: 14px;
|
|
background: rgba(255,251,244,.56);
|
|
overflow: hidden;
|
|
}
|
|
.colony-setting-fold > summary {
|
|
min-height: 38px;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 11px;
|
|
color: rgba(68,55,41,.84);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
user-select: none;
|
|
}
|
|
.colony-setting-fold > summary::-webkit-details-marker { display: none; }
|
|
.colony-setting-fold > summary::before { content: "\25b8"; color: var(--muted); width: 12px; }
|
|
.colony-setting-fold[open] > summary::before { content: "\25be"; }
|
|
.colony-setting-fold > summary strong { margin-left: auto; font-size: 15px; }
|
|
.colony-setting-fold > summary small { margin-left: auto; color: var(--muted); font-size: 10px; font-weight: 500; }
|
|
.colony-setting-fold[open] > summary { border-bottom: 1px solid rgba(118,92,61,.12); }
|
|
.colony-setting-fold .temperature-control,
|
|
.colony-setting-fold .colony-limit-control {
|
|
margin: 0;
|
|
border: 0;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
}
|
|
.colony-setting-fold .temperature-control { display: grid; gap: 5px; }
|
|
.colony-setting-fold .temperature-auto { margin-left: 0; justify-self: end; }
|
|
|
|
/* v39.16.40: one unified colony settings fold. */
|
|
.colony-settings-fold .temperature-control,
|
|
.colony-settings-fold .colony-limit-control { padding: 0; border: 0; border-radius: 0; background: transparent; }
|
|
|
|
|
|
/* v39.16.40: restore the compact sticky operation palette from the earlier UI. */
|
|
.tool-category[data-tool-category="operate"]:not(.collapsed) {
|
|
position: sticky;
|
|
top: 58px;
|
|
z-index: 11;
|
|
overflow: hidden;
|
|
background: linear-gradient(180deg, rgba(238,247,255,.98), rgba(221,237,255,.98));
|
|
border: 3px solid rgba(52,112,188,.72);
|
|
box-shadow: 0 9px 22px rgba(58,82,112,.18), inset 0 0 0 1px rgba(255,255,255,.86);
|
|
}
|
|
.tool-category[data-tool-category="operate"] .tool-category-toggle {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(231,243,255,.98));
|
|
border-bottom-color: rgba(82,128,190,.30);
|
|
}
|
|
.tool-category[data-tool-category="operate"] .tool-category-body {
|
|
grid-template-columns: repeat(6, minmax(0,1fr));
|
|
gap: 5px;
|
|
background: rgba(238,247,255,.98);
|
|
}
|
|
.tool-category[data-tool-category="operate"] .tool {
|
|
grid-template-columns: 1fr;
|
|
min-height: 38px;
|
|
padding: 4px;
|
|
justify-items: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
background: rgba(255,255,255,.96);
|
|
border-color: rgba(82,128,190,.28);
|
|
}
|
|
.tool-category[data-tool-category="operate"] .tool-label { display: none; }
|
|
.tool-category[data-tool-category="operate"] .tool::before {
|
|
left: 50%; top: 50%; transform: translate(-50%,-50%) scale(var(--tool-icon-zoom,1));
|
|
}
|
|
.tool-category[data-tool-category="operate"] .tool-sprite-preview {
|
|
left: 50%; top: 50%; transform: translate(-50%,-50%);
|
|
}
|
|
.tool-category[data-tool-category="operate"] .tool-shortcut {
|
|
position: absolute; right: 3px; bottom: 2px; min-width: 13px; height: 13px;
|
|
box-sizing: border-box; padding: 0 3px; border: 1px solid rgba(82,128,190,.26);
|
|
border-radius: 5px; background: rgba(255,255,255,.88); color: rgba(48,74,112,.86);
|
|
font: 700 9px/12px system-ui,sans-serif; text-align: center; pointer-events: none;
|
|
}
|
|
|
|
/* A trash can inside a selection square for range delete. */
|
|
.tool[data-tool="area_delete"].tool-emoji-icon::before {
|
|
content: "";
|
|
box-sizing: border-box;
|
|
width: 30px;
|
|
height: 30px;
|
|
border: 2.5px solid #a8444d;
|
|
border-radius: 4px;
|
|
background: rgba(255,255,255,.40);
|
|
filter: none;
|
|
}
|
|
.tool[data-tool="area_delete"].tool-emoji-icon::after {
|
|
content: "";
|
|
display: block;
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 52%;
|
|
width: 11px;
|
|
height: 13px;
|
|
box-sizing: border-box;
|
|
transform: translate(-50%,-50%);
|
|
border: 2px solid #a8444d;
|
|
border-top-width: 3px;
|
|
border-radius: 1px 1px 3px 3px;
|
|
background: repeating-linear-gradient(90deg, transparent 0 2px, rgba(168,68,77,.75) 2px 3px, transparent 3px 5px);
|
|
box-shadow: 0 -5px 0 -3px #a8444d;
|
|
z-index: 3;
|
|
pointer-events: none;
|
|
}
|
|
.tool-category[data-tool-category="operate"] .tool[data-tool="area_delete"].tool-emoji-icon::before {
|
|
top: 50% !important;
|
|
transform: translate(-50%,-50%) !important;
|
|
}
|
|
|
|
/* Colony settings use the colony card's own button palette. */
|
|
.colony-card .colony-setting-fold {
|
|
border-color: var(--ui-theme-mid);
|
|
background: var(--ui-theme-soft);
|
|
}
|
|
.colony-card .colony-setting-fold > summary {
|
|
border-color: var(--ui-theme-mid);
|
|
background: linear-gradient(180deg, rgba(255,255,255,.78), var(--ui-theme-soft-2));
|
|
color: var(--ink);
|
|
}
|
|
.colony-card .colony-setting-fold[open] > summary { border-bottom-color: var(--ui-theme-mid); }
|
|
.colony-card .colony-setting-section + .colony-setting-section { border-top-color: rgba(var(--ui-theme-rgb),.22); }
|
|
.colony-stats { grid-template-columns: 1fr; }
|
|
.ground-type-btn.colony-setting-action {
|
|
width: 100%;
|
|
min-height: 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
padding: 7px 10px;
|
|
border: 1px solid var(--ui-theme-mid);
|
|
border-radius: 11px;
|
|
background: linear-gradient(180deg, rgba(255,255,255,.76), var(--ui-theme-soft-2));
|
|
color: var(--ink);
|
|
cursor: pointer;
|
|
font: inherit;
|
|
}
|
|
.ground-type-btn.colony-setting-action:hover { background: rgba(var(--ui-theme-rgb),.16); }
|
|
.ground-type-btn.colony-setting-action strong { font-size: 15px; }
|
|
.ground-type-btn.colony-setting-action span { color: var(--muted); font-size: 11px; font-weight: 700; }
|
|
|
|
/* Shared panel-search primitives. */
|
|
.panel-search-control {
|
|
grid-column: 1 / -1;
|
|
display: grid;
|
|
grid-template-columns: minmax(0,1fr) auto 32px;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-top: 2px;
|
|
padding-top: 6px;
|
|
border-top: 1px solid rgba(82,128,190,.20);
|
|
}
|
|
.panel-search-input {
|
|
width: 100%; min-width: 0; height: 32px; box-sizing: border-box;
|
|
padding: 6px 8px; border: 1px solid rgba(82,128,190,.34); border-radius: 9px;
|
|
background: rgba(255,255,255,.94); color: var(--ink); font: 12px/1.2 var(--font,sans-serif);
|
|
}
|
|
.panel-search-input:focus { outline: 2px solid rgba(40,112,180,.28); border-color: rgba(40,112,180,.58); }
|
|
.panel-search-status { min-width: 23px; color: rgba(48,74,112,.86); font: 700 10px/1 system-ui,sans-serif; text-align: center; }
|
|
.panel-search-next {
|
|
width: 32px; height: 32px; padding: 0; border: 1px solid rgba(82,128,190,.34); border-radius: 9px;
|
|
background: rgba(255,255,255,.94); color: #315f91; font: 800 17px/1 system-ui,sans-serif; cursor: pointer;
|
|
}
|
|
.panel-search-next:disabled { opacity: .36; cursor: default; }
|
|
.panel-search-match {
|
|
position: relative;
|
|
outline: 3px solid rgba(255,190,38,.72) !important;
|
|
outline-offset: 1px;
|
|
background-color: rgba(255,235,135,.62) !important;
|
|
scroll-margin-block: 150px 80px;
|
|
}
|
|
.panel-search-current {
|
|
outline-color: rgba(225,91,38,.92) !important;
|
|
box-shadow: 0 0 0 4px rgba(255,160,70,.22) !important;
|
|
}
|
|
|
|
/* v39.16.40: header search uses partial matching and bidirectional navigation. */
|
|
.top-panel-search {
|
|
flex: 0 1 270px;
|
|
width: clamp(190px, 21vw, 270px);
|
|
min-width: 190px;
|
|
display: grid;
|
|
grid-template-columns: minmax(92px, 1fr) auto 30px 30px;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin: 0 2px 0 0;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
.top-panel-search .panel-search-input { height: 36px; }
|
|
.panel-search-prev,
|
|
.panel-search-next {
|
|
width: 30px;
|
|
height: 32px;
|
|
padding: 0;
|
|
border: 1px solid rgba(82,128,190,.34);
|
|
border-radius: 9px;
|
|
background: rgba(255,255,255,.94);
|
|
color: #315f91;
|
|
font: 800 16px/1 system-ui,sans-serif;
|
|
cursor: pointer;
|
|
}
|
|
.panel-search-prev:disabled,
|
|
.panel-search-next:disabled { opacity: .36; cursor: default; }
|
|
|
|
/* Match the expanded colony settings surface to the colony graph surface. */
|
|
.colony-card .colony-setting-fold[open] {
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.70), rgba(246,240,228,0.54));
|
|
}
|
|
|
|
|
|
/* Shared in-game confirmations */
|
|
.game-confirm-dialog { z-index: 16000; }
|
|
.game-confirm-panel { width: min(460px, 100%); }
|
|
.game-confirm-message { white-space: pre-line; }
|
|
.game-confirm-actions { justify-content: flex-end; }
|
|
.game-confirm-actions .btn { width: auto; }
|
|
|
|
/* Achievements */
|
|
.achievement-top-btn {
|
|
border-color: rgba(177, 132, 38, .38);
|
|
color: #72521a;
|
|
background: linear-gradient(180deg, rgba(255, 251, 224, .96), rgba(247, 229, 153, .88));
|
|
font-weight: 800;
|
|
}
|
|
.achievement-top-btn.complete {
|
|
border-color: rgba(105, 158, 63, .44);
|
|
color: #456729;
|
|
background: linear-gradient(180deg, rgba(245, 255, 229, .98), rgba(213, 239, 173, .92));
|
|
}
|
|
.achievement-dialog-panel { width: min(720px, 100%); }
|
|
.achievement-dialog-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
}
|
|
.achievement-dialog-head h2 { margin-bottom: 5px; }
|
|
.achievement-dialog-kicker {
|
|
margin-bottom: 3px;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
letter-spacing: .08em;
|
|
}
|
|
.achievement-close-icon {
|
|
width: 34px;
|
|
height: 34px;
|
|
border: 1px solid rgba(84, 68, 48, .16);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, .76);
|
|
color: var(--ink);
|
|
font-size: 22px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
.achievement-shared-status {
|
|
margin: 10px 0;
|
|
padding: 8px 10px;
|
|
border: 1px solid rgba(104, 86, 61, .12);
|
|
border-radius: 10px;
|
|
background: rgba(241, 235, 222, .54);
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
.achievement-list { display: grid; gap: 10px; }
|
|
.achievement-group {
|
|
overflow: hidden;
|
|
border: 1px solid rgba(105, 87, 60, .15);
|
|
border-radius: 13px;
|
|
background: rgba(247, 243, 234, .72);
|
|
}
|
|
.achievement-group-summary {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 10px 12px;
|
|
color: #554b3e;
|
|
cursor: pointer;
|
|
list-style: none;
|
|
user-select: none;
|
|
}
|
|
.achievement-group-summary::-webkit-details-marker { display: none; }
|
|
.achievement-group-summary::before {
|
|
content: "\25b6";
|
|
flex: 0 0 auto;
|
|
color: #8b7657;
|
|
font-size: 10px;
|
|
transition: transform .16s ease;
|
|
}
|
|
.achievement-group[open] > .achievement-group-summary::before { transform: rotate(90deg); }
|
|
.achievement-group-summary strong { margin-right: auto; font-size: 13px; }
|
|
.achievement-group-count {
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.achievement-group-body {
|
|
display: grid;
|
|
gap: 9px;
|
|
padding: 0 9px 9px;
|
|
}
|
|
.achievement-group-empty {
|
|
margin: 0;
|
|
padding: 12px;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, .58);
|
|
color: var(--muted);
|
|
font-size: 11px;
|
|
}
|
|
.achievement-entry {
|
|
--achievement-rate: 0%;
|
|
position: relative;
|
|
isolation: isolate;
|
|
overflow: hidden;
|
|
display: grid;
|
|
grid-template-columns: 42px minmax(0, 1fr);
|
|
gap: 10px;
|
|
align-items: center;
|
|
min-height: 62px;
|
|
padding: 9px 11px;
|
|
border: 1px solid rgba(105, 87, 60, .15);
|
|
border-radius: 13px;
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(244, 238, 226, .78));
|
|
cursor: default;
|
|
}
|
|
.achievement-entry:focus-visible {
|
|
outline: 2px solid rgba(85, 119, 149, .58);
|
|
outline-offset: 2px;
|
|
}
|
|
.achievement-entry::before {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 0;
|
|
inset: 0 auto 0 0;
|
|
pointer-events: none;
|
|
width: var(--achievement-rate);
|
|
background: linear-gradient(90deg, rgba(129, 158, 188, .27), rgba(156, 184, 207, .17));
|
|
border-right: 1px solid rgba(85, 119, 149, .20);
|
|
transition: width .32s ease;
|
|
}
|
|
.achievement-entry > * {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.achievement-entry.unlocked {
|
|
border-color: rgba(173, 129, 35, .38);
|
|
background: linear-gradient(180deg, rgba(255, 253, 235, .96), rgba(248, 231, 163, .70));
|
|
}
|
|
.achievement-entry.unlocked::before {
|
|
background: linear-gradient(90deg, rgba(229, 179, 51, .34), rgba(244, 211, 102, .22));
|
|
border-right-color: rgba(173, 129, 35, .28);
|
|
}
|
|
.achievement-entry-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 11px;
|
|
background: rgba(106, 91, 68, .09);
|
|
color: #8b7657;
|
|
font-size: 22px;
|
|
}
|
|
.achievement-entry.unlocked .achievement-entry-icon {
|
|
background: rgba(242, 196, 74, .22);
|
|
color: #b67b13;
|
|
}
|
|
.achievement-entry-copy { min-width: 0; }
|
|
.achievement-entry-heading {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 9px;
|
|
min-width: 0;
|
|
}
|
|
.achievement-entry-copy strong {
|
|
flex: 0 0 auto;
|
|
display: block;
|
|
font-size: 14px;
|
|
line-height: 1.35;
|
|
}
|
|
.achievement-entry-description {
|
|
min-width: 0;
|
|
color: #665d50;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
}
|
|
.achievement-entry.locked .achievement-entry-description {
|
|
color: #8b8378;
|
|
font-style: italic;
|
|
}
|
|
.achievement-entry-progress {
|
|
margin-top: 4px;
|
|
color: #526b82;
|
|
font-size: 10px;
|
|
font-weight: 800;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.achievement-entry-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 6px 12px;
|
|
margin-top: 5px;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
}
|
|
.achievement-entry-percentage {
|
|
flex: 0 0 auto;
|
|
margin-left: auto;
|
|
color: #5d6570;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
@media (max-width: 620px) {
|
|
.achievement-entry-heading { display: block; }
|
|
.achievement-entry-description { display: block; margin-top: 2px; }
|
|
}
|
|
.achievement-dialog-actions { justify-content: flex-end; flex-wrap: wrap; }
|
|
.achievement-dialog-actions .btn { width: auto; }
|
|
.achievement-dialog-actions .achievement-reset-btn { margin-right: auto; }
|
|
.achievement-toast {
|
|
position: fixed;
|
|
top: 18px;
|
|
left: 18px;
|
|
right: auto;
|
|
z-index: 14000;
|
|
width: min(360px, calc(100vw - 36px));
|
|
display: grid;
|
|
grid-template-columns: 44px minmax(0, 1fr);
|
|
gap: 10px;
|
|
align-items: center;
|
|
padding: 11px 13px;
|
|
border: 1px solid rgba(184, 137, 37, .42);
|
|
border-radius: 14px;
|
|
background: rgba(255, 249, 220, .97);
|
|
color: #57401d;
|
|
box-shadow: 0 16px 44px rgba(45, 34, 20, .24);
|
|
transform-origin: center;
|
|
transition: opacity .18s ease, transform .18s ease, filter .18s ease, visibility .18s ease;
|
|
}
|
|
.achievement-toast.absorbing {
|
|
opacity: 0;
|
|
transform: translate(var(--achievement-toast-dx, 0px), var(--achievement-toast-dy, 0px)) scale(.08);
|
|
filter: blur(2px) saturate(1.4);
|
|
border-radius: 999px;
|
|
pointer-events: none;
|
|
transition: opacity .72s ease-in, transform .72s cubic-bezier(.55, .02, .86, .3), filter .72s ease-in, border-radius .72s ease-in;
|
|
}
|
|
.achievement-top-btn.achievement-absorb-target {
|
|
animation: achievement-target-pulse .22s ease-out .54s both;
|
|
}
|
|
@keyframes achievement-target-pulse {
|
|
0% { transform: scale(1); }
|
|
45% { transform: scale(1.09); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
.achievement-toast.hidden {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transform: translateY(-10px);
|
|
}
|
|
.achievement-toast-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 12px;
|
|
background: #efc34c;
|
|
color: #fff8d8;
|
|
font-size: 24px;
|
|
}
|
|
.achievement-toast-copy { min-width: 0; }
|
|
.achievement-toast-copy small { display: block; margin-bottom: 2px; color: #8a6b2c; font-size: 10px; font-weight: 800; }
|
|
.achievement-toast-copy strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
|
|
|
|
@media (max-width: 980px) {
|
|
.achievement-toast {
|
|
top: calc(env(safe-area-inset-top, 0px) + 10px);
|
|
left: 12px;
|
|
right: auto;
|
|
width: min(360px, calc(100vw - 24px));
|
|
}
|
|
.achievement-dialog-actions { flex-direction: column-reverse; }
|
|
.achievement-dialog-actions .btn { width: 100%; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.achievement-toast.absorbing { transition-duration: .12s; }
|
|
.achievement-top-btn.achievement-absorb-target { animation: none; }
|
|
}
|
|
|
|
/* v39.16.56: keep the upper-limit heading on one line in the compact panel. */
|
|
.colony-limit-section .colony-setting-section-head > span { font-size: 10.8px; white-space: nowrap; }
|
|
.colony-limit-section .colony-setting-section-head > small { font-size: 9px; white-space: nowrap; }
|