This commit is contained in:
33333-33333 2026-07-15 14:44:29 +09:00
commit 63e10af865
86 changed files with 5400 additions and 1209 deletions

View file

@ -643,129 +643,145 @@
font-size: 12px;
line-height: 1.45;
}
.visual-settings-dialog-panel {
width: min(560px, calc(100vw - 32px));
/* 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;
}
.visual-setting-row {
.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;
grid-template-columns: minmax(0, 1fr) auto;
gap: 12px;
align-items: center;
padding: 12px 0;
border-top: 1px solid rgba(115, 91, 62, 0.16);
}
.visual-setting-row strong,
.visual-setting-row span {
display: block;
}
.visual-setting-row strong {
color: #4f3928;
font-size: 15px;
}
.visual-setting-row span {
margin-top: 3px;
color: #6d5a46;
font-size: 12px;
}
.visual-setting-options {
display: inline-flex;
gap: 5px;
padding: 4px;
border: 1px solid rgba(115, 91, 62, 0.18);
border-radius: 999px;
background: rgba(255, 255, 255, 0.50);
}
.visual-setting-options button {
min-width: 46px;
min-height: 32px;
border: 1px solid transparent;
border-radius: 999px;
.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: #5d4938;
cursor: pointer;
color: var(--ink);
text-align: left;
font: inherit;
font-weight: 800;
font-size: 13px;
font-weight: 700;
cursor: pointer;
}
.visual-setting-options button.active,
.visual-setting-options button[aria-pressed="true"] {
border-color: rgba(127, 94, 54, 0.28);
background: #fff4d8;
color: #3f3023;
box-shadow: 0 2px 8px rgba(96, 70, 40, 0.12);
}
.visual-setting-options button:focus-visible {
outline: 2px solid rgba(184, 128, 54, 0.45);
outline-offset: 2px;
}
@media (max-width: 640px) {
.save-slot-row {
grid-template-columns: 1fr;
}
.save-slot-actions {
justify-content: flex-start;
}
.visual-setting-row {
grid-template-columns: 1fr;
}
.visual-setting-options {
width: 100%;
justify-content: stretch;
}
.visual-setting-options button {
flex: 1 1 0;
}
.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);
}
.ground-stat {
padding: 7px 8px;
.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;
}
.ground-type-btn {
width: 100%;
min-height: 28px;
border: 1px solid rgba(92, 142, 74, 0.28);
border-radius: 999px;
background: rgba(255,255,255,0.58);
color: inherit;
cursor: pointer;
font: inherit;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}
.ground-type-btn:hover {
background: rgba(255,255,255,0.82);
transform: translateY(-1px);
}
.ground-type-btn strong {
display: inline-block;
font-size: 16px;
line-height: 1.2;
}
.ground-stat[data-ground-toggle] {
.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;
}
.ground-stat[data-ground-toggle]:focus-visible,
.ground-type-btn:focus-visible {
outline: 2px solid rgba(103,178,44,0.58);
outline-offset: 2px;
.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;
}
/* v36: pin only the operation tool category under the quick-scroll tabs. */
.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, 0.98), rgba(221, 237, 255, 0.98));
border: 3px solid rgba(52,112,188,0.72);
box-shadow: 0 9px 22px rgba(58, 82, 112, 0.18), inset 0 0 0 1px rgba(255,255,255,0.86);
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,0.98), rgba(231, 243, 255, 0.98));
border-bottom-color: rgba(82,128,190,0.30);
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));
grid-template-columns: repeat(6, minmax(0,1fr));
gap: 5px;
background: rgba(238, 247, 255, 0.98);
background: rgba(238,247,255,.98);
}
.tool-category[data-tool-category="operate"] .tool {
grid-template-columns: 1fr;
@ -774,112 +790,442 @@
justify-items: center;
align-items: center;
text-align: center;
background: rgba(255,255,255,0.96);
border-color: rgba(82,128,190,0.28);
}
.tool-category[data-tool-category="operate"] .tool-label {
display: none;
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));
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%);
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;
right: 3px;
bottom: 2px;
min-width: 13px;
left: 50%;
top: 52%;
width: 11px;
height: 13px;
box-sizing: border-box;
padding: 0 3px;
border: 1px solid rgba(82,128,190,0.26);
border-radius: 5px;
background: rgba(255,255,255,0.88);
color: rgba(48,74,112,0.86);
font: 700 9px/12px system-ui, sans-serif;
text-align: center;
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;
}
/* Collapsed event card must shrink to its header.
layout.css gives .log-card a min-height, which left a large blank panel when folded. */
.log-card.collapsed { min-height: 0 !important; height: auto !important; flex: 0 0 auto !important; flex-basis: auto !important; }
.log-card.collapsed .panel-card-body { display: none !important; }
.temperature-control {
margin: 10px 0 2px;
padding: 10px 11px 11px;
border: 1px solid rgba(118, 92, 61, 0.16);
border-radius: 14px;
background: rgba(255, 251, 244, 0.56);
.tool-category[data-tool-category="operate"] .tool[data-tool="area_delete"].tool-emoji-icon::before {
top: 50% !important;
transform: translate(-50%,-50%) !important;
}
.temperature-control-head {
/* 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;
gap: 8px;
font-size: 12px;
color: rgba(68, 55, 41, 0.84);
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;
}
.temperature-control-head strong {
margin-left: auto;
font-size: 15px;
.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);
}
.temperature-auto {
display: inline-flex;
.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-left: 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;
}
.temperature-slider {
width: 100%;
margin-top: 8px;
.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;
}
.temperature-slider:disabled {
opacity: 0.52;
.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;
}
.colony-limit-control {
margin: 8px 0 4px;
padding: 10px 11px;
border: 1px solid rgba(118, 92, 61, 0.16);
border-radius: 14px;
background: rgba(255, 251, 244, 0.56);
.achievement-group-body {
display: grid;
gap: 9px;
padding: 0 9px 9px;
}
.colony-limit-head {
.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;
gap: 8px;
color: rgba(68, 55, 41, 0.84);
font-size: 12px;
flex-wrap: wrap;
gap: 6px 12px;
margin-top: 5px;
color: var(--muted);
font-size: 10px;
font-weight: 700;
}
.colony-limit-head small { color: var(--muted); font-size: 10px; }
.colony-limit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 8px; }
.colony-limit-row { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 5px 7px; align-items: center; min-width: 0; font-size: 11px; color: var(--muted); }
.colony-limit-row span { grid-column: 1 / -1; min-width: 0; }
.colony-limit-slider { width: 100%; min-width: 0; accent-color: rgba(84, 138, 72, 0.92); }
.colony-limit-number { width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid rgba(100, 78, 52, 0.22); border-radius: 8px; padding: 5px 6px; background: rgba(255,255,255,0.78); color: var(--ink); font: inherit; text-align: right; }
.colony-limit-status { margin-top: 7px; color: rgba(68, 55, 41, 0.78); font-size: 10px; line-height: 1.35; }
.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%; }
}
/* v39.15.131: keep the folded tool card usable when other right-side cards are expanded. */
.tool-card.collapsed {
min-height: 64px !important;
height: auto !important;
flex: 0 0 auto !important;
flex-basis: auto !important;
overflow: visible !important;
}
.tool-card.collapsed .panel-card-toggle {
min-height: 46px;
}
.tool-card.collapsed .panel-card-body {
display: none !important;
@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; }