:host { display: block; min-height: 100%; } .page { width: min(100%, var(--page-max-width)); margin: 0 auto; padding: 20px 16px 24px; overflow-x: hidden; } .page__header, .page__brand, .page__all, .page__all-label, .city-card__top, .city-card__actions { display: flex; align-items: center; } .page__header { justify-content: space-between; gap: 12px; } .page__brand { gap: 10px; color: var(--color-accent); font-size: 26px; font-weight: 700; letter-spacing: -0.03em; } .page__mark { display: block; width: 36px; height: 36px; } .page__profile { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 22px; background: var(--color-surface-2); color: var(--color-text); text-decoration: none; } .page__intro { margin: 20px 0 16px; } .page__intro h1, .city-card h2 { margin: 0; font-family: var(--font-display); font-size: clamp(28px, 6vw, 34px); font-weight: 700; line-height: 1.15; letter-spacing: -0.03em; } .page__intro p, .city-card p { margin: 6px 0 0; color: var(--color-muted); font-size: 15px; } .page__all, .city-card { border: 1px solid var(--color-border); background: var(--color-surface); } .page__all { justify-content: space-between; gap: 12px; min-height: 56px; margin-bottom: 16px; padding: 0 16px; border-radius: 16px; color: var(--color-text); text-decoration: none; } .page__all-label { gap: 10px; color: var(--color-accent); } .page__all-label b { color: var(--color-text); font-weight: 600; } .page__all-meta { color: var(--color-muted); font-weight: 400; } .city-card { padding: 16px; border-radius: 24px; } .city-card__top { justify-content: space-between; gap: 12px; margin-bottom: 14px; } .city-card strong, .city-card__percent { color: var(--color-text); font-weight: 600; } .city-card__percent { display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border: 5px solid var(--color-surface-2); border-radius: 50%; font-size: 14px; } .city-card mat-progress-bar { --mdc-linear-progress-active-indicator-color: var(--color-accent); --mdc-linear-progress-track-color: var(--color-surface-2); border-radius: 3px; } .city-card__cells { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 16px 0; } .cell { display: block; aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; border-radius: 10px; background: #171512; color: inherit; text-decoration: none; cursor: pointer; } .cell img { display: block; width: 100%; height: 100%; object-fit: cover; } .cell--open { background: rgb(224 184 79 / 10%); box-shadow: inset 0 0 0 1.5px var(--color-accent); } .city-card__actions { gap: 10px; width: 100%; } .city-card__actions a { flex: 1 1 0; min-width: 0; min-height: 48px; } .city-card__actions a[matButton='filled'] { gap: 8px; overflow: visible; } @media (max-width: 420px) { .city-card__actions { flex-direction: column; } .city-card__actions a { width: 100%; } } @media (min-width: 720px) { .page { padding-top: 32px; } .city-card__cells { gap: 10px; } }