.ps-card[data-eco="off"] { --dc: #4ade80; --dc-dark: #15803d; }
.ps-card[data-eco="on"]  { --dc: #ffd23f; --dc-dark: #a17b00; }
.ps-card__ribbon--eco { background: #ffd23f; color: #241d00; }
.story-eco-opt[data-eco="off"] { --dc: #4ade80; }
.story-eco-opt[data-eco="on"]  { --dc: #ffd23f; }
#eco-toast-layer {
position: fixed; top: 62px; left: 50%; transform: translateX(-50%);
z-index: 10085;
display: flex; flex-direction: column; align-items: center; gap: 6px;
width: min(380px, 92vw);
pointer-events: none;
}
.eco-toast {
--tc: #ffd23f;
display: flex; align-items: center; gap: 10px;
width: 100%; padding: 8px 12px;
background: #1a1530;
border: 3px solid #7b5ea7; outline: 2px solid #07060f;
box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55);
color: #eee;
animation: ecoToastIn 0.28s steps(4) both;
}
.eco-toast--up   { --tc: #4ade80; }
.eco-toast--down { --tc: #ff5c7a; }
.eco-toast.is-out { animation: ecoToastOut 0.35s ease both; }
.eco-toast__icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.eco-toast__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.eco-toast__body b {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.42rem; font-weight: normal; line-height: 1.5;
color: var(--tc);
}
.eco-toast__body i {
font-style: normal; font-family: 'VT323', monospace;
font-size: 1.05rem; line-height: 1.15; color: #ddd;
}
@keyframes ecoToastIn  { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes ecoToastOut { to { opacity: 0; transform: translateY(-10px); } }
.eco-pop {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.6rem; padding: 6px 10px;
background: #0d0a18; border: 2px solid currentColor;
box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.6);
text-shadow: 2px 2px 0 #000;
animation: ecoPop 1.9s ease-out both;
}
.eco-pop.is-up   { color: #4ade80; }
.eco-pop.is-down { color: #ff5c7a; }
@keyframes ecoPop {
0%   { opacity: 0; transform: translateY(8px) scale(0.8); }
12%  { opacity: 1; transform: none; }
75%  { opacity: 1; }
100% { opacity: 0; transform: translateY(-14px); }
}
#eco-modal {
position: fixed; inset: 0; z-index: 10090;
display: flex; align-items: center; justify-content: center;
padding: 14px;
background: radial-gradient(120% 100% at 50% 0%, rgba(40, 14, 50, 0.72), rgba(0, 0, 0, 0.88));
}
#eco-modal.hidden { display: none; }
.eco-modal__box {
position: relative;
width: min(540px, 100%); max-height: 100%; overflow-y: auto;
padding: 16px 16px 14px;
background: linear-gradient(170deg, #211a3d 0%, #161129 100%);
border: 3px solid #7b5ea7; outline: 3px solid #07060f;
box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.55);
color: #eee; font-family: 'VT323', monospace;
animation: ecoBoxIn 0.28s steps(4) both;
}
.eco-modal__box::before {
content: ''; position: absolute; inset: -3px; pointer-events: none;
background:
linear-gradient(#e94560, #e94560) 0 0 / 6px 6px no-repeat,
linear-gradient(#e94560, #e94560) 100% 0 / 6px 6px no-repeat,
linear-gradient(#e94560, #e94560) 0 100% / 6px 6px no-repeat,
linear-gradient(#e94560, #e94560) 100% 100% / 6px 6px no-repeat;
}
@keyframes ecoBoxIn { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }
.eco-modal__x {
position: absolute; top: 10px; right: 10px; z-index: 5;
width: 34px; height: 34px; cursor: pointer;
font-family: var(--font-pixel, 'Press Start 2P', monospace); font-size: 0.55rem;
color: #ffd0d8; background: #3a1c2c;
border: 2px solid; border-color: #ff9aac #120e22 #120e22 #ff9aac;
box-shadow: 3px 3px 0 #000;
}
.eco-modal__x:hover { filter: brightness(1.2); }
.eco-modal__x:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.eco-modal__x.hidden { display: none; }
.eco-mg__head {
display: flex; align-items: center; gap: 10px;
padding-bottom: 12px; margin-bottom: 12px;
border-bottom: 2px dashed rgba(255, 255, 255, 0.12);
}
.eco-mg__av {
width: 46px; height: 46px; flex-shrink: 0;
display: flex; align-items: center; justify-content: center;
font-size: 24px;
background: #2a2344 center top / cover no-repeat;
border: 2px solid #7b5ea7; box-shadow: 2px 2px 0 #000;
}
.eco-mg__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.eco-mg__who b {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.5rem; font-weight: normal; line-height: 1.5; color: #fff;
}
.eco-mg__who i { font-style: normal; font-size: 1.05rem; color: #b9b0d8; }
.eco-mg__pay {
flex-shrink: 0;
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.55rem; color: #241d00; background: #ffd23f;
padding: 6px 8px; box-shadow: 2px 2px 0 #000;
}
.eco-mg__intro { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.eco-mg__bigicon {
font-size: 3rem; line-height: 1;
filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.5));
animation: ecoBob 1.6s ease-in-out infinite;
}
@keyframes ecoBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.eco-mg__desc { margin: 0; font-size: 1.25rem; line-height: 1.25; color: #e8e2ff; }
.eco-mg__how {
width: 100%; padding: 10px;
display: flex; flex-direction: column; gap: 5px;
border: 2px dashed #7b5ea7; background: rgba(0, 0, 0, 0.25);
}
.eco-mg__how b {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.45rem; font-weight: normal; color: #ffd23f;
}
.eco-mg__how span { font-size: 1.12rem; color: #ddd; }
.eco-mg__cost  { font-size: 1.1rem; color: #b9b0d8; }
.eco-mg__heart { font-size: 1.1rem; color: #ff7aa8; }
.eco-mg__risk  { font-size: 1.1rem; color: #ff9f5a; }
.eco-mg__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.eco-btn {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.46rem; line-height: 1.4;
padding: 10px 14px; cursor: pointer;
color: #fff; background: #2d2550;
border: 2px solid; border-color: #9f86d0 #120e22 #120e22 #9f86d0;
box-shadow: 3px 3px 0 #000;
transition: transform 0.08s, filter 0.1s;
}
.eco-btn:hover:not(:disabled)  { filter: brightness(1.15); }
.eco-btn:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; }
.eco-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.eco-btn--go    { color: #241d00; background: #ffd23f; border-color: #fff2a8 #8a6a00 #8a6a00 #fff2a8; }
.eco-btn--start,
.eco-btn--buy   { color: #062b16; background: #4ade80; border-color: #b8ffd3 #15803d #15803d #b8ffd3; }
.eco-btn--sell  { background: #e94560; border-color: #ff9aac #8f1b2c #8f1b2c #ff9aac; }
.eco-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, 0.3); color: #cfc8ea; }
.eco-mg__stage {
position: relative; min-height: 180px;
display: flex; align-items: center; justify-content: center;
padding: 8px 0;
}
.eco-mg__count {
position: absolute; left: 0; right: 0; top: 112px;
text-align: center; pointer-events: none;
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 2rem; color: #ffd23f; text-shadow: 4px 4px 0 #000;
}
.eco-mg__count.is-go { color: #4ade80; }
.eco-mg__count.hidden { display: none; }
.eco-mg__btn {
display: block; width: 100%; margin-top: 12px; padding: 16px;
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.7rem; color: #fff; background: #e94560;
border: 3px solid; border-color: #ff9aac #8f1b2c #8f1b2c #ff9aac;
box-shadow: 4px 4px 0 #000; cursor: pointer;
touch-action: none; user-select: none; -webkit-user-select: none;
}
.eco-mg__btn.is-down { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #000; filter: brightness(1.2); }
.eco-mg__keys { text-align: center; font-size: 1rem; color: #8f86b3; margin-top: 8px; }
.eco-tm { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.eco-tm__rounds { display: flex; gap: 8px; }
.eco-tm__rounds span { width: 14px; height: 14px; background: #2d2550; border: 2px solid #120e22; }
.eco-tm__rounds .is-now     { background: #ffd23f; animation: ecoBlink 0.6s steps(2) infinite; }
.eco-tm__rounds .is-perfect { background: #4ade80; }
.eco-tm__rounds .is-good    { background: #a3e635; }
.eco-tm__rounds .is-meh     { background: #ff9f5a; }
.eco-tm__rounds .is-miss    { background: #e94560; }
@keyframes ecoBlink { 50% { opacity: 0.35; } }
.eco-tm__track {
position: relative; width: 100%; height: 44px;
background: #0c0a18; border: 3px solid #07060f; outline: 2px solid #4a3d70;
}
.eco-tm__zone {
position: absolute; top: 0; bottom: 0;
display: flex; justify-content: center;
background: rgba(74, 222, 128, 0.28);
border-left: 2px solid #4ade80; border-right: 2px solid #4ade80;
}
.eco-tm__core { width: 35%; height: 100%; background: rgba(74, 222, 128, 0.6); }
.eco-tm__cursor {
position: absolute; top: -8px; bottom: -8px;
width: 4px; margin-left: -2px;
background: #fff; box-shadow: 0 0 10px #fff, 2px 0 0 #000;
}
.eco-tm__fb {
min-height: 1.3em;
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.6rem; text-shadow: 2px 2px 0 #000;
}
.eco-tm__fb.is-perfect { color: #4ade80; }
.eco-tm__fb.is-good    { color: #a3e635; }
.eco-tm__fb.is-meh     { color: #ff9f5a; }
.eco-tm__fb.is-miss    { color: #e94560; }
.eco-ms {
display: grid; grid-template-columns: auto auto; grid-template-rows: 1fr auto;
align-items: center; gap: 12px 26px;
}
.eco-ms__icon { font-size: 3.4rem; line-height: 1; filter: drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.5)); }
.eco-ms__icon.is-bump { animation: ecoBump 0.14s steps(2); }
@keyframes ecoBump { 50% { transform: scale(1.18) rotate(-6deg); } }
.eco-ms__bar {
position: relative; width: 46px; height: 150px;
background: #0c0a18; border: 3px solid #07060f; outline: 2px solid #4a3d70;
}
.eco-ms__fill {
position: absolute; left: 0; right: 0; bottom: 0; height: 0;
background: repeating-linear-gradient(0deg, #ffd23f 0 6px, #f0a000 6px 12px);
}
.eco-ms__goal { position: absolute; left: -7px; right: -7px; top: 0; height: 3px; background: #4ade80; }
.eco-ms__time { grid-column: 1 / -1; height: 8px; background: #0c0a18; border: 2px solid #07060f; }
.eco-ms__time div { width: 100%; height: 100%; background: #ff5c7a; }
.eco-hd { display: flex; align-items: center; gap: 24px; }
.eco-hd__col {
position: relative; width: 70px; height: 170px;
background: #0c0a18; border: 3px solid #07060f; outline: 2px solid #4a3d70;
}
.eco-hd__zone {
position: absolute; left: 0; right: 0;
background: rgba(255, 210, 63, 0.22);
border-top: 2px solid #ffd23f; border-bottom: 2px solid #ffd23f;
}
.eco-hd__col.is-in .eco-hd__zone { background: rgba(74, 222, 128, 0.35); border-color: #4ade80; }
.eco-hd__mark {
position: absolute; left: 50%; transform: translate(-50%, 50%);
font-size: 1.8rem; line-height: 1; filter: drop-shadow(2px 2px 0 #000);
}
.eco-hd__side { display: flex; flex-direction: column; gap: 8px; width: 140px; }
.eco-hd__meter { height: 12px; background: #0c0a18; border: 2px solid #07060f; }
.eco-hd__meter div { width: 0; height: 100%; background: #4ade80; }
.eco-hd__pct { font-family: var(--font-pixel, 'Press Start 2P', monospace); font-size: 0.6rem; color: #4ade80; }
.eco-ride {
display: flex; align-items: center; gap: 10px; width: 100%;
padding: 10px; text-align: left;
background: rgba(0, 0, 0, 0.25); border: 2px dashed #7b5ea7;
}
.eco-ride__av {
width: 44px; height: 44px; flex-shrink: 0;
display: flex; align-items: center; justify-content: center; font-size: 22px;
background: #2a2344 center top / cover no-repeat;
border: 2px solid #7b5ea7; box-shadow: 2px 2px 0 #000;
}
.eco-ride__who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.eco-ride__who b {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.45rem; font-weight: normal; color: #fff;
}
.eco-ride__who i { font-style: normal; font-size: 1.05rem; color: #b9b0d8; }
.eco-rt { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.eco-rt__label {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.5rem; color: #ffd23f; text-shadow: 2px 2px 0 #000;
}
.eco-rt__seq { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.eco-rt__step {
width: 42px; height: 42px;
display: flex; align-items: center; justify-content: center;
font-size: 1.3rem; color: #6b5f96;
background: #0c0a18; border: 3px solid #07060f; outline: 2px solid #4a3d70;
}
.eco-rt__step.is-on  { color: #fff; background: #2d2550; }
.eco-rt__step.is-ok  { color: #062b16; background: #4ade80; }
.eco-rt__step.is-bad { color: #fff; background: #e94560; }
.eco-rt__pad { display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0.45; }
.eco-rt__pad.is-live { opacity: 1; }
.eco-rt__row { display: flex; gap: 6px; }
.eco-rt__pad button {
width: 54px; height: 46px; cursor: pointer;
font-size: 1.1rem; color: #fff; background: #2d2550;
border: 2px solid; border-color: #9f86d0 #120e22 #120e22 #9f86d0;
box-shadow: 3px 3px 0 #000;
touch-action: manipulation; user-select: none; -webkit-user-select: none;
}
.eco-rt__pad.is-live button:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 #000; filter: brightness(1.3); }
.eco-res {
--gc: #4ade80;
display: flex; flex-direction: column; align-items: center; gap: 8px;
padding: 8px 0 4px; text-align: center;
}
.eco-res--perfect { --gc: #ffd23f; }
.eco-res--good    { --gc: #a3e635; }
.eco-res--meh     { --gc: #ff9f5a; }
.eco-res--fail    { --gc: #e94560; }
.eco-res__stamp {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 1.05rem; color: var(--gc);
padding: 10px 16px; border: 4px solid var(--gc);
text-shadow: 3px 3px 0 #000; box-shadow: 4px 4px 0 #000;
transform: rotate(-6deg);
animation: ecoStamp 0.35s cubic-bezier(0.2, 1.6, 0.4, 1) both;
}
@keyframes ecoStamp {
from { opacity: 0; transform: rotate(-6deg) scale(2.2); }
to   { opacity: 1; transform: rotate(-6deg) scale(1); }
}
.eco-res__pay {
margin-top: 8px;
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 1.1rem; color: #4ade80; text-shadow: 3px 3px 0 #000;
}
.eco-res--fail .eco-res__pay { color: #ff9aac; font-size: 0.7rem; }
.eco-res__line   { font-size: 1.2rem; color: #e8e2ff; }
.eco-res__hearts { font-size: 1.3rem; color: #ff5c8a; }
.eco-res__hearts span { font-size: 1.05rem; color: #f4b8cc; }
.eco-res__cost   { font-size: 1.05rem; color: #8f86b3; }
.eco-res__gift   { font-size: 3.4rem; line-height: 1; animation: ecoBob 1.4s ease-in-out infinite; }
.eco-gift__intro { margin: 0 0 10px; font-size: 1.15rem; color: #cfc8ea; }
.eco-gift__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.eco-gift {
display: flex; flex-direction: column; align-items: center; gap: 3px;
padding: 10px 6px; cursor: pointer;
font-family: 'VT323', monospace; color: #eee;
background: #231c40;
border: 2px solid; border-color: #6b58a0 #120e22 #120e22 #6b58a0;
box-shadow: 3px 3px 0 #000;
transition: transform 0.1s, background 0.1s;
}
.eco-gift:hover:not(:disabled) { background: #2d2550; transform: translateY(-2px); }
.eco-gift.is-off { opacity: 0.4; cursor: not-allowed; }
.eco-gift__icon { font-size: 1.9rem; line-height: 1.1; }
.eco-gift__name { font-size: 1.05rem; line-height: 1.1; }
.eco-gift__pts  { font-size: 0.8rem; color: #ff5c8a; }
.eco-gift__buy {
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.4rem; color: #ffd23f; margin-top: 2px;
}
@media (max-width: 480px) {
.eco-gift__grid { grid-template-columns: repeat(2, 1fr); }
}
.vn-wallet {
display: flex; justify-content: space-between; gap: 8px;
margin: 6px 0 2px; padding: 5px 8px;
background: rgba(0, 0, 0, 0.35);
border: 2px solid rgba(74, 222, 128, 0.5);
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.42rem; line-height: 1.6; color: #7dffa8;
}
.vn-wallet.hidden { display: none; }
.vn-wallet.is-low { border-color: rgba(255, 92, 122, 0.6); color: #ff8fa3; }
.vn-wallet__food { color: #ffeb3b; }
.vn-chip--job { animation: ecoGlow 1.6s ease-in-out infinite; }
@keyframes ecoGlow { 50% { filter: brightness(1.3); } }
.ph-tile--bank   { background: linear-gradient(160deg, #22d3a6, #0e7a5f); }
.ph-tile--stocks { background: linear-gradient(160deg, #1f2a44, #0b1222); }
.ph-tile--jobs   { background: linear-gradient(160deg, #ff8a3d, #c2410c); }
.ph-tile--shop   { background: linear-gradient(160deg, #ff6bd6, #a21caf); }
.ph-app-icon--eco { display: none; }
.ph-home-grid.eco-on .ph-app-icon--eco { display: flex; }
.ph-home-cash { display: none; }
.ph-home-cash.show {
display: inline-flex; gap: 10px; margin-top: 8px;
padding: 5px 10px; border-radius: 10px;
background: rgba(53, 208, 127, 0.12); border: 1px solid rgba(53, 208, 127, 0.3);
font: 700 14px system-ui, sans-serif; color: #7dffa8;
}
.ph-home-cash span { color: #ffe27a; font-weight: 600; }
.ph-quick__chip--gift {
background: rgba(255, 107, 214, 0.18) !important;
border-color: rgba(255, 107, 214, 0.45) !important;
color: #ffc2ec !important;
}
.ph-sheet__fare { margin-top: 10px; font: 800 15px system-ui, sans-serif; color: #7dffa8; }
.ph-sheet__fare.is-broke { color: #ff5c7a; }
.ph-screen .eco-btn {
font: 700 12.5px system-ui, sans-serif;
padding: 9px 13px; border-radius: 11px;
border: 1px solid transparent; box-shadow: none;
}
.ph-screen .eco-btn--ghost { border-color: var(--ph-line); background: rgba(255, 255, 255, 0.06); color: #f2eefc; }
.ph-screen .eco-btn:active:not(:disabled) { transform: scale(0.97); box-shadow: none; }
.ph-screen .is-up   { color: var(--ph-green); }
.ph-screen .is-down { color: #ff5c7a; }
.eco-none { padding: 14px 18px; font: 400 13px system-ui, sans-serif; color: rgba(255, 255, 255, 0.5); text-align: center; }
.eco-foot { padding: 6px 18px 18px; font: 400 11.5px system-ui, sans-serif; line-height: 1.45; color: rgba(255, 255, 255, 0.45); text-align: center; }
.eco-bank {
position: relative; overflow: hidden;
margin: 12px; padding: 16px 16px 14px; border-radius: 18px;
color: #fff;
background:
radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.18), transparent 55%),
linear-gradient(135deg, #0e7a5f 0%, #0b3b52 55%, #1b1440 100%);
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.eco-bank::after {
content: ''; position: absolute; right: -40px; bottom: -60px;
width: 180px; height: 180px; border-radius: 50%;
background: rgba(255, 255, 255, 0.06);
}
.eco-bank__brand { display: flex; justify-content: space-between; font: 800 11px system-ui, sans-serif; letter-spacing: 2px; opacity: 0.85; }
.eco-bank__brand span { color: #ffd23f; letter-spacing: -2px; }
.eco-bank__lbl { margin-top: 14px; font: 500 12px system-ui, sans-serif; opacity: 0.75; }
.eco-bank__big { margin: 2px 0 10px; font: 800 34px system-ui, sans-serif; letter-spacing: 0.5px; }
.eco-bank__row { display: flex; justify-content: space-between; padding: 2px 0; font: 500 12.5px system-ui, sans-serif; opacity: 0.9; }
.eco-bank__num { margin-top: 12px; font: 600 13px ui-monospace, monospace; letter-spacing: 2px; opacity: 0.6; }
.eco-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.eco-fact {
display: flex; flex-direction: column; gap: 3px;
padding: 10px; border-radius: 14px;
background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ph-line-soft);
}
.eco-fact__icon { font-size: 18px; }
.eco-fact__lbl { font: 500 11px system-ui, sans-serif; color: rgba(255, 255, 255, 0.55); }
.eco-fact__val { font: 700 13px system-ui, sans-serif; color: #fff; }
.eco-ledger { padding: 0 12px 14px; }
.eco-led { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--ph-line-soft); }
.eco-led__icon {
width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px;
display: flex; align-items: center; justify-content: center;
font-size: 17px; background: rgba(255, 255, 255, 0.06);
}
.eco-led__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.eco-led__body b { font: 600 13px system-ui, sans-serif; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eco-led__body i { font: 400 11px system-ui, sans-serif; color: rgba(255, 255, 255, 0.5); }
.eco-led__amt { font: 700 13.5px system-ui, sans-serif; }
.eco-pdx {
margin: 12px; padding: 14px; border-radius: 18px;
background: linear-gradient(160deg, #101a30, #0a0f1d);
border: 1px solid rgba(53, 208, 127, 0.25);
}
.eco-pdx__brand { font: 800 13px system-ui, sans-serif; color: #d6f5e6; letter-spacing: 0.5px; }
.eco-pdx__idx { display: flex; align-items: baseline; gap: 10px; margin-top: 6px; }
.eco-pdx__idx span { font: 700 11px system-ui, sans-serif; color: rgba(255, 255, 255, 0.5); letter-spacing: 2px; }
.eco-pdx__idx b { font: 800 28px system-ui, sans-serif; color: #fff; }
.eco-pdx__idx i { font: 700 13px system-ui, sans-serif; font-style: normal; }
.eco-pdx__note { margin-top: 4px; font: 400 11.5px system-ui, sans-serif; color: rgba(255, 255, 255, 0.5); }
.eco-tipbar {
margin: 0 12px 8px; padding: 9px 12px; border-radius: 12px;
background: rgba(255, 206, 69, 0.12); border: 1px solid rgba(255, 206, 69, 0.35);
font: 600 12.5px system-ui, sans-serif; color: #ffe7a0;
}
.eco-ticks { padding: 0 8px 12px; }
.eco-tick, .eco-pos {
width: 100%;
display: grid; grid-template-columns: 38px 1fr 62px 84px; align-items: center; gap: 8px;
padding: 9px 6px; text-align: left; cursor: pointer;
background: none; border: none; border-bottom: 1px solid var(--ph-line-soft);
color: #fff;
}
.eco-pos { grid-template-columns: 38px 1fr 110px; }
.eco-tick:active, .eco-pos:active, .eco-news:active { background: rgba(255, 255, 255, 0.04); }
.eco-tick__logo, .eco-news__logo, .eco-tk__logo {
width: 38px; height: 38px; border-radius: 11px;
display: flex; align-items: center; justify-content: center;
font-size: 19px; background: rgba(255, 255, 255, 0.07);
}
.eco-tick__id { display: flex; flex-direction: column; min-width: 0; }
.eco-tick__id b { font: 800 13.5px system-ui, sans-serif; }
.eco-tick__id b em {
margin-left: 4px; padding: 1px 5px; border-radius: 6px;
font: 700 10px system-ui, sans-serif; font-style: normal;
background: rgba(47, 155, 255, 0.2); color: #9cd0ff;
}
.eco-tick__id i { font: 400 11.5px system-ui, sans-serif; font-style: normal; color: rgba(255, 255, 255, 0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.eco-tick__spark svg { display: block; width: 62px; height: 24px; }
.eco-spark polyline { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.eco-spark.is-up polyline   { stroke: var(--ph-green); }
.eco-spark.is-down polyline { stroke: #ff5c7a; }
.eco-tick__px { display: flex; flex-direction: column; align-items: flex-end; }
.eco-tick__px b { font: 700 13.5px system-ui, sans-serif; }
.eco-tick__px i { font: 700 11.5px system-ui, sans-serif; font-style: normal; }
.eco-back { margin: 10px 12px 0; padding: 4px 0; background: none; border: none; cursor: pointer; font: 600 14px system-ui, sans-serif; color: var(--ph-blue); }
.eco-tk {
margin: 8px 12px 10px; padding: 14px; border-radius: 18px;
background: rgba(255, 255, 255, 0.035); border: 1px solid var(--ph-line-soft);
}
.eco-tk__head { display: flex; align-items: center; gap: 10px; }
.eco-tk__logo { width: 44px; height: 44px; font-size: 22px; flex-shrink: 0; }
.eco-tk__head b { display: block; font: 800 16px system-ui, sans-serif; color: #fff; }
.eco-tk__head i { display: block; font: 400 11.5px system-ui, sans-serif; font-style: normal; color: rgba(255, 255, 255, 0.55); line-height: 1.35; }
.eco-tk__px { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; }
.eco-tk__px b { font: 800 28px system-ui, sans-serif; color: #fff; }
.eco-tk__px i { font: 700 13px system-ui, sans-serif; font-style: normal; }
.eco-tk__chart { height: 120px; margin: 10px -4px 6px; }
.eco-chart { display: block; width: 100%; height: 100%; }
.eco-chart.is-up   { color: var(--ph-green); }
.eco-chart.is-down { color: #ff5c7a; }
.eco-chart__grid { stroke: rgba(255, 255, 255, 0.07); stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.eco-tk__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; margin-top: 6px; }
.eco-tk__stats span { display: flex; justify-content: space-between; font: 500 12px system-ui, sans-serif; }
.eco-tk__stats i { font-style: normal; color: rgba(255, 255, 255, 0.5); }
.eco-tk__stats b { font-weight: 700; color: #fff; }
.eco-tk__warn { margin-top: 10px; font: 600 12px system-ui, sans-serif; color: #ffb36b; }
.eco-tk__mine {
display: flex; align-items: center; gap: 10px;
margin: 0 12px 10px; padding: 11px 13px; border-radius: 14px;
background: rgba(47, 155, 255, 0.1); border: 1px solid rgba(47, 155, 255, 0.3);
font: 500 13px system-ui, sans-serif;
}
.eco-tk__mine span { flex: 1; color: rgba(255, 255, 255, 0.75); }
.eco-tk__mine b { font-weight: 800; color: #fff; }
.eco-tk__mine i { font-style: normal; font-weight: 700; }
.eco-trade {
margin: 0 12px 16px; padding: 12px; border-radius: 16px;
background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ph-line);
}
.eco-trade__qty { display: flex; align-items: center; gap: 5px; }
.eco-trade__qty button {
flex: 0 0 auto; min-width: 36px; padding: 7px 6px; border-radius: 9px; cursor: pointer;
border: 1px solid var(--ph-line); background: rgba(255, 255, 255, 0.07);
color: #fff; font: 700 12px system-ui, sans-serif;
}
.eco-trade__qty span { flex: 1; display: flex; flex-direction: column; align-items: center; }
.eco-trade__qty span b { font: 800 18px system-ui, sans-serif; color: #fff; }
.eco-trade__qty span i { font: 400 10.5px system-ui, sans-serif; font-style: normal; color: rgba(255, 255, 255, 0.5); }
.eco-trade__sum { margin: 9px 0; text-align: center; font: 500 12px system-ui, sans-serif; color: rgba(255, 255, 255, 0.65); }
.eco-trade__btns { display: flex; gap: 8px; }
.eco-trade__btns .eco-btn { flex: 1; }
.eco-trade__cash { margin-top: 8px; text-align: center; font: 400 11.5px system-ui, sans-serif; color: rgba(255, 255, 255, 0.5); }
.eco-folio-hero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 12px 8px; }
.eco-folio-hero div { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ph-line-soft); }
.eco-folio-hero span { display: block; font: 500 10.5px system-ui, sans-serif; color: rgba(255, 255, 255, 0.5); }
.eco-folio-hero b { font: 800 14px system-ui, sans-serif; color: #fff; }
.eco-rumor {
display: flex; align-items: center; gap: 10px;
margin: 0 12px 8px; padding: 10px 12px; border-radius: 14px;
background: rgba(255, 206, 69, 0.08); border: 1px solid rgba(255, 206, 69, 0.28);
}
.eco-rumor__av, .eco-job__av, .eco-target__av {
flex-shrink: 0; display: flex; align-items: center; justify-content: center;
background: #2a2740 center top / cover no-repeat;
}
.eco-rumor__av { width: 38px; height: 38px; border-radius: 12px; font-size: 18px; }
.eco-rumor__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.eco-rumor__body b { font: 700 13px system-ui, sans-serif; color: #fff; }
.eco-rumor__body i { font: 400 12px system-ui, sans-serif; font-style: normal; line-height: 1.35; color: rgba(255, 255, 255, 0.7); }
.eco-rumor__side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.eco-rumor__side em { font: 800 12px system-ui, sans-serif; font-style: normal; }
.eco-rumor.is-up .eco-rumor__side em   { color: var(--ph-green); }
.eco-rumor.is-down .eco-rumor__side em { color: #ff5c7a; }
.eco-rumor__side small { font: 400 11px system-ui, sans-serif; letter-spacing: 1px; color: var(--ph-gold); }
.eco-news {
display: flex; align-items: center; gap: 10px;
width: calc(100% - 16px); margin: 0 8px; padding: 9px 6px;
background: none; border: none; border-bottom: 1px solid var(--ph-line-soft);
color: #fff; text-align: left; cursor: pointer;
}
.eco-news__logo { width: 32px; height: 32px; font-size: 16px; flex-shrink: 0; }
.eco-news__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.eco-news__body b { font: 600 12.5px system-ui, sans-serif; line-height: 1.35; }
.eco-news__body i { font: 400 10.5px system-ui, sans-serif; font-style: normal; color: rgba(255, 255, 255, 0.45); }
.eco-news__pct { font: 800 12px system-ui, sans-serif; }
.eco-news__pct.is-flat { color: rgba(255, 255, 255, 0.5); }
.eco-jobs-hero {
margin: 12px; padding: 14px; border-radius: 18px;
background: linear-gradient(140deg, rgba(255, 138, 61, 0.25), rgba(194, 65, 12, 0.1));
border: 1px solid rgba(255, 138, 61, 0.35);
}
.eco-jobs-hero__t { font: 800 17px system-ui, sans-serif; color: #fff; }
.eco-jobs-hero__s { margin-top: 3px; font: 500 12px system-ui, sans-serif; color: rgba(255, 255, 255, 0.7); }
.eco-job {
margin: 0 12px 10px; padding: 12px; border-radius: 16px;
background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ph-line-soft);
}
.eco-job.is-ready { border-color: rgba(53, 208, 127, 0.6); box-shadow: 0 0 0 1px rgba(53, 208, 127, 0.3), 0 0 18px -6px var(--ph-green); }
.eco-job.is-away, .eco-job.is-wrongtime { border-color: rgba(255, 206, 69, 0.4); }
.eco-job.is-done { opacity: 0.6; }
.eco-job__top { display: flex; align-items: center; gap: 10px; }
.eco-job__av { width: 40px; height: 40px; border-radius: 12px; font-size: 20px; }
.eco-job__who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.eco-job__who b { font: 700 14px system-ui, sans-serif; color: #fff; }
.eco-job__who i { font: 400 11px system-ui, sans-serif; font-style: normal; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255, 255, 255, 0.5); }
.eco-job__pay { font: 800 16px system-ui, sans-serif; color: #7dffa8; }
.eco-job__title { margin-top: 10px; font: 700 15px system-ui, sans-serif; color: #fff; }
.eco-job__desc { margin-top: 3px; font: 400 12.5px system-ui, sans-serif; line-height: 1.4; color: rgba(255, 255, 255, 0.6); }
.eco-job__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.eco-job__chips span {
padding: 4px 7px; border-radius: 8px;
font: 600 10.5px system-ui, sans-serif;
background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.8);
}
.eco-job__chips .is-heart { background: rgba(255, 46, 116, 0.16); color: #ff9dbc; }
.eco-job__chips .is-risk  { background: rgba(255, 159, 90, 0.16); color: #ffc08a; }
.eco-job__act { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.eco-job__state { flex: 1; font: 600 12px system-ui, sans-serif; color: #ffe08a; }
.eco-job__state--done { color: var(--ph-green); }
.eco-taxi {
margin: 0 12px 12px; padding: 12px; border-radius: 16px;
background: linear-gradient(140deg, rgba(255, 210, 63, 0.14), rgba(255, 255, 255, 0.04));
border: 1px solid rgba(255, 210, 63, 0.35);
}
.eco-taxi.is-ok { border-color: rgba(53, 208, 127, 0.6); box-shadow: 0 0 18px -6px var(--ph-green); }
.eco-taxi .eco-job__av { background: rgba(255, 210, 63, 0.18); }
.eco-taxi .eco-job__pay { font-size: 13px; color: #ffe08a; }
.eco-taxi__xp { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.eco-taxi__xp .ph-progress { flex: 1; margin-top: 0; }
.eco-taxi__xp span { font: 600 11px system-ui, sans-serif; color: rgba(255, 255, 255, 0.6); }
.eco-rentrow {
display: flex; align-items: center; gap: 10px;
margin: 10px 12px 0; padding: 11px 12px; border-radius: 14px;
background: rgba(233, 69, 96, 0.12); border: 1px solid rgba(233, 69, 96, 0.4);
}
.eco-rentrow span { flex: 1; font: 600 12.5px system-ui, sans-serif; color: #ffb3c0; }
.eco-perks { display: flex; flex-direction: column; gap: 8px; padding: 0 12px; }
.eco-perk {
display: flex; align-items: center; gap: 11px;
padding: 11px 12px; border-radius: 14px; cursor: pointer; text-align: left;
background: rgba(255, 255, 255, 0.05); border: 1px solid var(--ph-line);
color: #fff;
}
.eco-perk:disabled { cursor: not-allowed; }
.eco-perk:disabled:not(.is-owned) { opacity: 0.45; }
.eco-perk.is-owned { opacity: 1; border-color: rgba(53, 208, 127, 0.5); background: rgba(53, 208, 127, 0.1); }
.eco-perk__icon { font-size: 24px; flex-shrink: 0; }
.eco-perk__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.eco-perk__body b { font: 700 13.5px system-ui, sans-serif; }
.eco-perk__body i { font: 400 11.5px system-ui, sans-serif; font-style: normal; line-height: 1.35; color: rgba(255, 255, 255, 0.6); }
.eco-perk__price { flex-shrink: 0; font: 700 13px system-ui, sans-serif; color: #7dffa8; }
.eco-shop-hero {
display: flex; align-items: center; justify-content: space-between;
margin: 12px; padding: 14px; border-radius: 18px;
background: linear-gradient(140deg, rgba(255, 107, 214, 0.25), rgba(162, 28, 175, 0.12));
border: 1px solid rgba(255, 107, 214, 0.35);
}
.eco-shop-hero b { font: 800 16px system-ui, sans-serif; color: #fff; }
.eco-shop-hero span { font: 700 13px system-ui, sans-serif; color: #7dffa8; }
.eco-shop-note { padding: 0 16px 8px; font: 500 12px system-ui, sans-serif; color: rgba(255, 255, 255, 0.6); }
.eco-packs, .eco-shop-gifts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 12px; }
.eco-pack, .eco-sgift {
position: relative;
display: flex; flex-direction: column; align-items: center; gap: 2px;
padding: 12px 6px; border-radius: 14px; cursor: pointer;
background: rgba(255, 255, 255, 0.05); border: 1px solid var(--ph-line);
color: #fff;
}
.eco-pack:disabled, .eco-sgift:disabled { opacity: 0.4; cursor: not-allowed; }
.eco-pack__icon, .eco-sgift__icon { font-size: 24px; }
.eco-pack b { font: 800 14px system-ui, sans-serif; }
.eco-pack i, .eco-sgift__price { font: 700 12.5px system-ui, sans-serif; font-style: normal; color: #7dffa8; }
.eco-pack em {
position: absolute; top: 6px; right: 6px;
padding: 1px 5px; border-radius: 6px;
font: 800 9.5px system-ui, sans-serif; font-style: normal;
background: var(--ph-pink); color: #fff;
}
.eco-gymrow {
display: flex; align-items: center; gap: 10px;
margin: 0 12px; padding: 11px 12px; border-radius: 14px;
background: rgba(255, 255, 255, 0.04); border: 1px solid var(--ph-line-soft);
}
.eco-gymrow span { flex: 1; font: 500 12.5px system-ui, sans-serif; color: rgba(255, 255, 255, 0.75); }
.eco-sgift { padding: 10px 4px; }
.eco-sgift__name { font: 600 11.5px system-ui, sans-serif; text-align: center; line-height: 1.2; }
.eco-sgift__pts { font-size: 9px; color: #ff5c8a; }
.eco-sgift__own {
position: absolute; top: 5px; left: 6px;
padding: 1px 6px; border-radius: 8px;
font: 800 10px system-ui, sans-serif; background: var(--ph-blue); color: #fff;
}
.eco-targets { display: flex; gap: 10px; overflow-x: auto; padding: 0 12px 18px; }
.eco-target {
flex: 0 0 72px;
display: flex; flex-direction: column; align-items: center; gap: 4px;
background: none; border: none; cursor: pointer; color: #fff;
}
.eco-target__av { width: 56px; height: 56px; border-radius: 16px; font-size: 24px; border: 2px solid rgba(255, 107, 214, 0.6); }
.eco-target b { font: 600 12px system-ui, sans-serif; }
.eco-target i { font: 400 10px system-ui, sans-serif; font-style: normal; color: rgba(255, 255, 255, 0.5); text-align: center; }
.eco-target.is-done { opacity: 0.45; }
.eco-mg__stage, .eco-res { position: relative; }
.eco-fx { position: absolute; inset: 0; pointer-events: none; overflow: visible; z-index: 4; }
.eco-fx__p {
position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px;
box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.45);
animation: ecoFxFly var(--dur, 0.6s) cubic-bezier(0.15, 0.7, 0.35, 1) forwards;
}
.eco-fx__p.is-glyph {
width: auto; height: auto; margin: 0; background: none; box-shadow: none;
line-height: 1; transform: translate(-50%, -50%);
filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.5));
}
@keyframes ecoFxFly {
0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
70%  { opacity: 1; }
100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 18px)) rotate(var(--rot)) scale(0.4); }
}
.eco-fx__t {
position: absolute; transform: translate(-50%, -50%); white-space: nowrap;
font-family: var(--font-pixel, 'Press Start 2P', monospace); font-size: 0.6rem;
color: #ffd23f; text-shadow: 2px 2px 0 #000, -1px -1px 0 #000;
animation: ecoFxRise 0.9s ease-out forwards;
}
.eco-fx__t.is-combo { color: #ff7ad9; font-size: 0.65rem; }
.eco-fx__t.is-mile  { color: #4ade80; }
@keyframes ecoFxRise {
0%   { opacity: 0; transform: translate(-50%, -30%) scale(0.6); }
15%  { opacity: 1; transform: translate(-50%, -50%) scale(1.25); }
30%  { transform: translate(-50%, -60%) scale(1); }
100% { opacity: 0; transform: translate(-50%, -190%) scale(1); }
}
.is-shake { animation: ecoShake 0.38s steps(8) both !important; }
@keyframes ecoShake {
0%, 100% { transform: translate(0, 0); }
15% { transform: translate(-6px, 2px); } 30% { transform: translate(5px, -3px); }
45% { transform: translate(-4px, -1px); } 60% { transform: translate(4px, 2px); }
75% { transform: translate(-2px, 1px); } 90% { transform: translate(1px, -1px); }
}
.is-pop { animation: ecoPopIn 0.3s cubic-bezier(0.2, 1.8, 0.4, 1) both; }
@keyframes ecoPopIn { from { transform: scale(1.7); } to { transform: scale(1); } }
.eco-mg__count { transition: color 0.1s; }
.eco-mg__btn:not(.is-down) { transition: transform 0.06s, box-shadow 0.06s; }
.eco-tm__top { display: flex; align-items: center; gap: 14px; min-height: 22px; }
.eco-tm__combo {
min-width: 3ch; font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.7rem; color: #ff7ad9; text-shadow: 2px 2px 0 #000;
}
.eco-tm__track { overflow: visible; transition: box-shadow 0.15s; }
.eco-tm__track.is-flash { animation: ecoTrackFlash 0.3s ease-out; }
@keyframes ecoTrackFlash {
0%   { box-shadow: 0 0 0 4px #fff, 0 0 30px 10px #4ade80; background: #1d3a2a; }
100% { box-shadow: none; }
}
.eco-tm__zone.is-new { animation: ecoZoneIn 0.35s cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes ecoZoneIn { from { transform: scaleX(0.2); opacity: 0; } to { transform: none; opacity: 1; } }
.eco-tm__zone { box-shadow: 0 0 14px rgba(74, 222, 128, 0.35) inset; }
.eco-tm__cursor { box-shadow: 0 0 10px #fff, 0 0 22px rgba(255, 210, 63, 0.8), 2px 0 0 #000; }
.eco-tm__cursor.is-stuck { background: #ffd23f; width: 6px; margin-left: -3px; }
.eco-tm__fb { display: inline-block; }
.eco-ms { position: relative; }
.eco-ms__icon { transform-origin: 50% 80%; }
.eco-ms__icon.is-bump { animation: ecoBumpTilt 0.14s steps(2); }
@keyframes ecoBumpTilt { 50% { transform: scale(1.22) rotate(var(--tilt, -6deg)); } }
.eco-ms__icon.is-hot { filter: drop-shadow(0 0 10px #ff9f1a) drop-shadow(3px 3px 0 rgba(0, 0, 0, 0.5)); }
.eco-ms__bar i {
position: absolute; left: 0; right: 0; height: 0;
border-top: 2px dashed rgba(255, 255, 255, 0.18); z-index: 1;
}
.eco-ms__fill { transition: height 0.06s linear; box-shadow: 0 0 12px rgba(255, 210, 63, 0.5); }
.eco-ms__bar.is-hot { outline-color: #ff9f1a; box-shadow: 0 0 18px 2px rgba(255, 120, 20, 0.65); }
.eco-ms__bar.is-hot .eco-ms__fill {
background: repeating-linear-gradient(0deg, #ffd23f 0 6px, #ff7a1a 6px 12px);
animation: ecoHotFill 0.25s linear infinite;
}
@keyframes ecoHotFill { to { background-position: 0 12px; } }
.eco-ms__bar.is-full { animation: ecoFull 0.6s ease-out; }
@keyframes ecoFull {
0%   { box-shadow: 0 0 0 6px #fff, 0 0 40px 14px #ffd23f; }
100% { box-shadow: none; }
}
.eco-ms__rate {
position: absolute; left: 0; top: -6px; width: 4.2rem; text-align: center;
font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.55rem; color: #ffb347; text-shadow: 2px 2px 0 #000;
}
.eco-ms__time.is-late div { background: #ff2d55; animation: ecoBlink 0.5s steps(2) infinite; }
.eco-hd__mark { transition: filter 0.1s; }
.eco-hd__mark.is-up::after {
content: ''; position: absolute; left: 50%; top: 100%;
width: 10px; height: 12px; margin-left: -5px;
background: linear-gradient(#ffd23f, rgba(255, 92, 30, 0));
animation: ecoBlink 0.12s steps(2) infinite;
}
.eco-hd__col.is-in .eco-hd__mark { filter: drop-shadow(0 0 8px #4ade80) drop-shadow(2px 2px 0 #000); }
.eco-hd__col.is-in { box-shadow: 0 0 16px rgba(74, 222, 128, 0.45); }
.eco-hd__meter { position: relative; overflow: hidden; }
.eco-hd__meter div { transition: width 0.08s linear; }
.eco-hd__meter.is-live div {
background: repeating-linear-gradient(90deg, #4ade80 0 8px, #86efac 8px 16px);
animation: ecoMeterRun 0.4s linear infinite;
}
@keyframes ecoMeterRun { to { background-position: 16px 0; } }
.eco-hd__pct { display: inline-block; }
.eco-hd__streak {
min-height: 1.2em; font-family: var(--font-pixel, 'Press Start 2P', monospace);
font-size: 0.55rem; color: #ffb347; text-shadow: 2px 2px 0 #000;
}
.eco-res__pay { display: inline-block; }
.eco-res--perfect .eco-res__stamp { animation: ecoStamp 0.35s cubic-bezier(0.2, 1.6, 0.4, 1) both, ecoGoldPulse 1.2s 0.4s ease-in-out infinite; }
@keyframes ecoGoldPulse { 50% { box-shadow: 4px 4px 0 #000, 0 0 24px 4px rgba(255, 210, 63, 0.6); } }
.eco-prop {
display: block; pointer-events: none; user-select: none; -webkit-user-drag: none;
filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45));
}
.eco-fx__p.is-img { width: auto; height: auto; margin: 0; background: none; box-shadow: none; }
.eco-fx__p.is-img img { display: block; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.5)); }
.eco-mg__bigprop { width: 120px; height: 120px; object-fit: contain; margin: 0 auto; }
@keyframes ecoIdle { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
.eco-act { position: relative; width: 120px; height: 104px; margin-bottom: -4px; }
.eco-act__img { width: 104px; height: 104px; object-fit: contain; margin: 0 auto; animation: ecoIdle 2.2s ease-in-out infinite; }
.eco-act__tool {
position: absolute; right: -34px; top: 18px; width: 70px; height: 70px; object-fit: contain;
transform-origin: 30% 70%; transform: rotate(-20deg);
}
.eco-act.is-perfect .eco-act__img { animation: ecoActPerfect 0.6s cubic-bezier(0.2, 1.4, 0.4, 1); }
.eco-act.is-good    .eco-act__img { animation: ecoActGood 0.45s ease-out; }
.eco-act.is-meh     .eco-act__img { animation: ecoActMeh 0.4s ease-out; }
.eco-act.is-miss    .eco-act__img { animation: ecoActMiss 0.45s steps(6); filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45)) grayscale(0.6) brightness(0.8); }
.eco-act.is-perfect .eco-act__tool, .eco-act.is-good .eco-act__tool { animation: ecoToolHit 0.4s ease-out; }
.eco-act.is-miss .eco-act__tool { animation: ecoToolMiss 0.45s ease-out; }
@keyframes ecoActPerfect {
0%   { transform: scale(1); }
30%  { transform: translateY(-26px) scale(1.18) rotate(-12deg); }
60%  { transform: translateY(-14px) scale(1.1) rotate(360deg); }
100% { transform: none; }
}
@keyframes ecoActGood { 40% { transform: translateY(-14px) scale(1.1); } }
@keyframes ecoActMeh  { 40% { transform: rotate(-10deg) scale(0.96); } }
@keyframes ecoActMiss {
0%, 100% { transform: none; } 20% { transform: translateX(-8px) rotate(-8deg); }
40% { transform: translateX(7px) rotate(6deg); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); }
}
@keyframes ecoToolHit { 40% { transform: rotate(-75deg) translateX(-12px); } }
@keyframes ecoToolMiss { 40% { transform: rotate(40deg) translateY(10px); } }
.eco-ms--prop .eco-ms__icon {
position: relative; width: 150px; height: 150px;
display: flex; align-items: flex-end; justify-content: center;
filter: none; font-size: 1rem;
}
.eco-ms--prop .eco-act__img { width: 130px; height: 130px; object-fit: contain; animation: none; transition: transform 0.08s linear; }
.eco-ms--prop .eco-ms__icon.is-hot .eco-act__img,
.eco-ms--prop .eco-ms__icon.is-hot .eco-broom { filter: drop-shadow(0 0 10px #ff9f1a) drop-shadow(0 6px 6px rgba(0, 0, 0, 0.45)); }
.eco-ms--prop .eco-ms__icon.is-hot { filter: none; }
.eco-broom {
position: absolute; left: -10px; right: -10px; bottom: -18px; height: 172px; z-index: 2;
background: url("sprites/minigames/broom_sheet.png") 0 0 / 1000% 100% no-repeat;
filter: drop-shadow(0 6px 5px rgba(0, 0, 0, 0.45));
}
.eco-floor {
position: absolute; left: -24px; right: -24px; bottom: 0; height: 22px; z-index: 1;
border-top: 3px solid #a8744a; box-shadow: 0 4px 0 #3d2412;
background-image: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.18) 0 2px, transparent 2px 38px), linear-gradient(#8a5a33, #6b4224);
}
.eco-floor__dirt {
position: absolute; top: -9px; width: 22px; height: 12px; border-radius: 50%;
transform: scale(var(--s, 1));
background: radial-gradient(ellipse at 50% 60%, #4a3524 0 35%, rgba(74, 53, 36, 0.6) 55%, transparent 72%);
transition: opacity 0.35s, transform 0.35s;
}
.eco-floor__dirt::after {
content: ""; position: absolute; left: 60%; top: -5px; width: 8px; height: 8px; border-radius: 50%;
background: radial-gradient(#5a4330 0 40%, transparent 70%);
}
.eco-floor__dirt.is-gone { opacity: 0; transform: scale(0.2) translateY(-10px); }
.eco-stack { position: relative; width: 120px; height: 150px; }
.eco-stack__box { position: absolute; left: 50%; width: 70px; height: 62px; margin-left: -35px; object-fit: contain; }
.eco-stack__box:nth-child(1) { bottom: 0; }
.eco-stack__box:nth-child(2) { bottom: 29px; transform: translateX(6px) rotate(3deg); }
.eco-stack__box:nth-child(3) { bottom: 58px; transform: translateX(-5px) rotate(-4deg); }
.eco-stack__box:nth-child(4) { bottom: 87px; transform: translateX(4px) rotate(5deg); }
.eco-stack__box.is-off { visibility: hidden; }
.eco-stack__box.is-drop { animation: ecoDrop 0.3s cubic-bezier(0.5, 0, 0.75, 0); }
@keyframes ecoDrop { from { translate: 0 -60px; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.eco-hd--prop .eco-hd__col { width: 96px; height: 200px; }
.eco-hd--prop .eco-hd__mark { font-size: 1rem; filter: none; }
.eco-hd--prop .eco-hd__mark .eco-prop { width: 72px; height: 72px; object-fit: contain; }
.eco-hd--prop .eco-hd__col.is-in .eco-hd__mark { filter: drop-shadow(0 0 8px #4ade80); }
.eco-hd--prop .eco-hd__mark.is-up .eco-prop { transform: rotate(-8deg); }
.eco-road {
position: relative; width: 100%; height: 200px; overflow: hidden;
border: 3px solid #07060f; outline: 2px solid #4a3d70;
background:
linear-gradient(90deg, #1e5c20 0 9%, transparent 9% 91%, #1e5c20 91%),
radial-gradient(120% 90% at 50% 100%, #3b3a48, #23222e);
--spd: 0.55s;
}
.eco-road__lines {
position: absolute; inset: 0;
background:
repeating-linear-gradient(180deg, #ffd23f 0 28px, transparent 28px 60px) 50% 0 / 6px 100% no-repeat,
repeating-linear-gradient(180deg, #e94560 0 14px, #ffffff 14px 28px) 9.6% 0 / 6px 100% no-repeat,
repeating-linear-gradient(180deg, #e94560 0 14px, #ffffff 14px 28px) 90.4% 0 / 6px 100% no-repeat;
animation: ecoRoad var(--spd) linear infinite;
}
@keyframes ecoRoad {
from { background-position: 50% 0, 9.6% 0, 90.4% 0; }
to   { background-position: 50% 60px, 9.6% 28px, 90.4% 28px; }
}
.eco-road.is-boost { --spd: 0.16s; }
.eco-road.is-boost::after {
content: ""; position: absolute; inset: 0; pointer-events: none;
background: repeating-linear-gradient(90deg, transparent 0 18px, rgba(255, 255, 255, 0.18) 18px 20px);
animation: ecoSpeedLines 0.15s linear infinite;
}
@keyframes ecoSpeedLines { from { background-position: 0 -40px; } to { background-position: 0 40px; } }
.eco-road.is-drift { animation: ecoRoadDrift 0.6s ease-out; }
@keyframes ecoRoadDrift { 30% { transform: rotate(-1.5deg) scale(1.02); } 60% { transform: rotate(1deg); } }
.eco-car {
position: absolute; left: 50%; bottom: 6px; width: 140px; height: 140px; z-index: 2;
--x: 0px; --y: 0px;
transform: translate(calc(-50% + var(--x)), var(--y));
transition: transform 0.12s ease-out;
}
.eco-car__img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.55)); animation: ecoCarIdle 0.35s ease-in-out infinite; }
@keyframes ecoCarIdle { 50% { transform: translateY(-2px); } }
.eco-car.is-boost { --y: -22px; }
.eco-car__flame {
position: absolute; left: 50%; bottom: 2px; width: 34px; height: 0; margin-left: -17px;
background: radial-gradient(ellipse at 50% 0%, #fff 0 15%, #ffd23f 35%, #ff7a1a 60%, transparent 75%);
opacity: 0; transition: height 0.1s, opacity 0.1s;
}
.eco-car.is-boost .eco-car__flame { height: 46px; bottom: -34px; opacity: 1; animation: ecoBlink 0.08s steps(2) infinite; }
.eco-car.is-gone { --y: -260px; transition: transform 0.55s cubic-bezier(0.6, 0, 0.9, 0.4); }
.eco-road__skid {
position: absolute; left: 50%; bottom: 0; width: 90px; height: 90px; margin-left: -45px; opacity: 0;
background:
linear-gradient(transparent, rgba(10, 10, 14, 0.75)) 18% 100% / 8px 100% no-repeat,
linear-gradient(transparent, rgba(10, 10, 14, 0.75)) 82% 100% / 8px 100% no-repeat;
transform: skewX(calc(var(--side, 1) * 28deg));
}
.eco-road__skid.is-on { animation: ecoSkid 1.2s ease-out; }
@keyframes ecoSkid { 0% { opacity: 0.9; } 100% { opacity: 0; transform: skewX(calc(var(--side, 1) * 28deg)) translateY(60px); } }
.eco-fx__t.is-nav { font-size: 1.6rem; color: #7ad7ff; text-shadow: 3px 3px 0 #000; }
.eco-modal--job .eco-modal__box, .eco-modal--taxi .eco-modal__box { user-select: none; -webkit-user-select: none; }