.gc-crowding-hub {
background: #fff;
border: 1px solid rgba(0,0,0,0.06);
border-radius: 14px;
padding: 22px 24px 18px;
margin: 18px 0;
font-family: inherit;
box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.gc-crowding-hub *,
.gc-crowding-hub *::before,
.gc-crowding-hub *::after { box-sizing: border-box; }
.gc-crowding-hub__header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 18px;
padding-bottom: 14px;
border-bottom: 1px solid rgba(0,0,0,0.06);
}
.gc-crowding-hub__title {
font-size: 20px;
font-weight: 600;
line-height: 1.25;
margin: 0 0 6px;
color: #14130f;
letter-spacing: -0.01em;
}
.gc-crowding-hub__subtitle {
font-size: 13.5px;
color: #6b6960;
margin: 0;
line-height: 1.55;
max-width: 60ch;
}
.gc-crowding-hub__head-right {
display: flex;
align-items: center;
gap: 12px;
white-space: nowrap;
flex-shrink: 0;
}
.gc-crowding-hub__updated {
font-size: 12px;
color: #8a8779;
font-feature-settings: "tnum" 1;
}
.gc-crowding-hub__refresh {
display: inline-flex;
align-items: center;
justify-content: center;
background: #fff;
border: 1px solid rgba(0,0,0,0.12);
border-radius: 8px;
padding: 6px 10px;
cursor: pointer;
font-size: 14px;
line-height: 1;
color: #555;
transition: background 0.15s, border-color 0.15s, transform 0.1s;
width: 36px;
height: 36px;
}
.gc-crowding-hub__refresh:hover { background: #f5f3ec; border-color: rgba(0,0,0,0.2); }
.gc-crowding-hub__refresh:active { transform: scale(0.95); }
.gc-crowding-hub__refresh:disabled { opacity: 0.4; cursor: progress; }
.gc-crowding-hub__refresh.is-loading svg { animation: gc-spin 0.8s linear infinite; }
@keyframes gc-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.gc-crowding-hub__grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 12px;
} .gc-crowding-card {
position: relative;
background: #fff;
border: 1px solid rgba(0,0,0,0.08);
border-left: 4px solid #B4B2A9;
border-radius: 10px;
padding: 14px 16px;
transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s;
cursor: default;
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
min-height: 130px;
overflow: hidden;
}
.gc-crowding-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
} .gc-crowding-card--relaxed {
background: linear-gradient(180deg, #F0FAF5 0%, #FFFFFF 60%);
border-left-color: #1D9E75;
}
.gc-crowding-card--medium {
background: linear-gradient(180deg, #FFF7E5 0%, #FFFFFF 60%);
border-left-color: #F2A40A;
}
.gc-crowding-card--full {
background: linear-gradient(180deg, #FFEED9 0%, #FFFFFF 60%);
border-left-color: #E07B0A;
}
.gc-crowding-card--overcrowded {
background: linear-gradient(180deg, #FCEBEB 0%, #FFFFFF 60%);
border-left-color: #D63333;
} .gc-crowding-card--featured {
border-width: 1px 1px 1px 4px;
box-shadow: 0 0 0 1px rgba(29, 158, 117, 0.18), 0 2px 8px rgba(29, 158, 117, 0.10);
}
.gc-crowding-card--featured.gc-crowding-card--overcrowded {
box-shadow: 0 0 0 1px rgba(214, 51, 51, 0.18), 0 2px 8px rgba(214, 51, 51, 0.10);
} .gc-crowding-card__header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
margin-bottom: 10px;
}
.gc-crowding-card__name {
font-weight: 600;
font-size: 15px;
color: #14130f;
line-height: 1.2;
letter-spacing: -0.005em;
}
.gc-crowding-card__score {
display: inline-flex;
align-items: baseline;
gap: 1px;
font-weight: 700;
font-size: 18px;
color: #fff;
padding: 4px 10px;
border-radius: 999px;
line-height: 1;
font-feature-settings: "tnum" 1;
flex-shrink: 0;
}
.gc-crowding-card__score-num { font-size: 18px; font-weight: 700; }
.gc-crowding-card__score-of {
font-size: 11px;
font-weight: 500;
opacity: 0.75;
margin-left: 1px;
}
.gc-crowding-card--relaxed     .gc-crowding-card__score { background: #1D9E75; }
.gc-crowding-card--medium      .gc-crowding-card__score { background: #F2A40A; }
.gc-crowding-card--full        .gc-crowding-card__score { background: #E07B0A; }
.gc-crowding-card--overcrowded .gc-crowding-card__score { background: #D63333; } .gc-crowding-card__status-row {
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
margin-bottom: 10px;
font-size: 13px;
color: #4a4844;
line-height: 1.3;
}
.gc-crowding-card--relaxed     .gc-crowding-card__status-row { color: #0F6E56; }
.gc-crowding-card--medium      .gc-crowding-card__status-row { color: #8B5C03; }
.gc-crowding-card--full        .gc-crowding-card__status-row { color: #80450A; }
.gc-crowding-card--overcrowded .gc-crowding-card__status-row { color: #791F1F; }
.gc-crowding-card__live-pill {
display: inline-flex;
align-items: center;
gap: 5px;
background: #fff;
color: #0F6E56;
border: 1px solid rgba(29, 158, 117, 0.35);
font-size: 10.5px;
font-weight: 700;
letter-spacing: 0.04em;
padding: 2px 8px;
border-radius: 999px;
text-transform: uppercase;
}
.gc-crowding-card__live-dot {
display: inline-block;
width: 6px;
height: 6px;
border-radius: 50%;
background: #1D9E75;
box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.5);
animation: gc-pulse 1.8s ease-out infinite;
}
@keyframes gc-pulse {
0% { box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.6); }
70% { box-shadow: 0 0 0 6px rgba(29, 158, 117, 0); }
100% { box-shadow: 0 0 0 0 rgba(29, 158, 117, 0); }
} .gc-crowding-card__reco {
font-size: 13px;
line-height: 1.5;
color: #2a2924;
margin-top: auto;
padding-top: 8px;
border-top: 1px dashed rgba(0,0,0,0.06);
}
.gc-crowding-card--featured .gc-crowding-card__reco {
font-weight: 500;
} .gc-crowding-card__parking {
display: inline-flex;
align-items: baseline;
gap: 6px;
font-size: 12px;
color: #5b5950;
margin-top: 8px;
padding-top: 8px;
border-top: 1px solid rgba(29, 158, 117, 0.12);
font-feature-settings: "tnum" 1;
}
.gc-crowding-card__parking-num {
font-weight: 700;
font-size: 15px;
color: #0F6E56;
}
.gc-crowding-card__parking-label { color: #8a8779; } .gc-crowding-skeleton {
background: #fff;
border: 1px solid rgba(0,0,0,0.06);
border-left: 4px solid #e8e6df;
border-radius: 10px;
padding: 14px 16px;
min-height: 130px;
}
.gc-crowding-skeleton__line {
height: 12px;
background: linear-gradient(90deg, #f1efe8 0%, #e8e6df 50%, #f1efe8 100%);
background-size: 200% 100%;
border-radius: 4px;
animation: gc-skeleton 1.4s ease-in-out infinite;
margin-bottom: 8px;
}
.gc-crowding-skeleton__line--title { width: 55%; height: 14px; }
.gc-crowding-skeleton__line--badge { width: 35%; height: 16px; margin-left: auto; }
.gc-crowding-skeleton__line--status { width: 70%; }
.gc-crowding-skeleton__line--reco { width: 90%; }
.gc-crowding-skeleton__line--reco2 { width: 60%; }
.gc-crowding-skeleton__head {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
@keyframes gc-skeleton {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
} .gc-crowding-hub__error {
grid-column: 1 / -1;
padding: 22px;
text-align: center;
color: #791F1F;
font-size: 13px;
background: #FCEBEB;
border-radius: 10px;
border: 1px solid rgba(214, 51, 51, 0.18);
}
.gc-crowding-hub__error-action {
display: inline-block;
margin-top: 10px;
background: #fff;
color: #791F1F;
border: 1px solid #D63333;
padding: 6px 14px;
border-radius: 999px;
font-size: 12px;
cursor: pointer;
font-weight: 600;
}
.gc-crowding-hub__error-action:hover { background: #fdf3f3; }
.gc-crowding-card--empty {
border-left-color: #d3d1c7;
color: #8a8779;
background: #fafaf6;
}
.gc-crowding-card--empty .gc-crowding-card__name { color: #8a8779; font-weight: 500; }
.gc-crowding-card--empty .gc-crowding-card__score {
background: #d3d1c7;
color: #fff;
font-size: 12px;
font-weight: 500;
} .gc-crowding-hub__footer {
margin-top: 16px;
padding-top: 12px;
border-top: 1px solid rgba(0,0,0,0.06);
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
gap: 10px;
font-size: 11.5px;
color: #8a8779;
}
.gc-crowding-hub__legend {
display: inline-flex;
align-items: center;
gap: 12px;
flex-wrap: wrap;
}
.gc-crowding-hub__legend-item {
display: inline-flex;
align-items: center;
gap: 5px;
}
.gc-crowding-hub__legend-dot {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
}
.gc-crowding-hub__legend-dot--ok     { background: #1D9E75; }
.gc-crowding-hub__legend-dot--medium { background: #F2A40A; }
.gc-crowding-hub__legend-dot--full   { background: #E07B0A; }
.gc-crowding-hub__legend-dot--over   { background: #D63333; }
.gc-crowding-hub__src {
color: #a0a097;
font-style: italic;
} .gc-crowding-card.is-fresh {
animation: gc-fresh-flash 1.2s ease-out;
}
@keyframes gc-fresh-flash {
0% { box-shadow: 0 0 0 0 rgba(29, 158, 117, 0.5); }
50% { box-shadow: 0 0 0 8px rgba(29, 158, 117, 0); }
} @media (max-width: 1024px) {
.gc-crowding-hub__grid {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
}
@media (max-width: 700px) {
.gc-crowding-hub {
padding: 18px 16px 14px;
border-radius: 12px;
}
.gc-crowding-hub__header {
flex-direction: column;
align-items: stretch;
gap: 10px;
}
.gc-crowding-hub__head-right {
align-self: flex-end;
}
.gc-crowding-hub__title { font-size: 18px; }
.gc-crowding-hub__grid {
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 10px;
}
}
@media (max-width: 480px) {
.gc-crowding-hub__grid {
grid-template-columns: 1fr;
}
.gc-crowding-card { padding: 14px 14px; min-height: 0; }
.gc-crowding-hub__title { font-size: 17px; }
.gc-crowding-hub__subtitle { font-size: 13px; }
.gc-crowding-hub__footer { font-size: 11px; }
.gc-crowding-hub__legend { gap: 8px; }
} @media print {
.gc-crowding-hub__refresh,
.gc-crowding-card__live-dot { display: none; }
.gc-crowding-card { box-shadow: none; break-inside: avoid; }
} @media (prefers-reduced-motion: reduce) {
.gc-crowding-card,
.gc-crowding-card__live-dot,
.gc-crowding-skeleton__line,
.gc-crowding-hub__refresh,
.gc-crowding-card.is-fresh { animation: none !important; transition: none !important; }
} .gc-crowding-hub__hail-banner {
display: none;
margin: 0 0 16px 0;
padding: 14px 18px;
border-radius: 10px;
background: linear-gradient(180deg, #FCEBEB 0%, #FDF3F3 100%);
border: 1px solid rgba(214, 51, 51, 0.35);
border-left: 4px solid #D63333;
box-shadow: 0 0 0 1px rgba(214, 51, 51, 0.08), 0 2px 8px rgba(214, 51, 51, 0.06);
position: relative;
overflow: hidden;
animation: gc-hail-glow 2.4s ease-in-out infinite;
}
.gc-crowding-hub__hail-banner.is-active { display: block; }
@keyframes gc-hail-glow {
0%, 100% { box-shadow: 0 0 0 1px rgba(214, 51, 51, 0.08), 0 2px 8px rgba(214, 51, 51, 0.06); }
50%       { box-shadow: 0 0 0 1px rgba(214, 51, 51, 0.2), 0 4px 16px rgba(214, 51, 51, 0.18); }
}
.gc-hail-banner__row {
display: flex;
align-items: flex-start;
gap: 12px;
}
.gc-hail-banner__icon {
flex-shrink: 0;
font-size: 22px;
line-height: 1.2;
animation: gc-flash 1.6s ease-in-out infinite;
}
@keyframes gc-flash {
0%, 100% { opacity: 1; transform: scale(1); }
50%       { opacity: 0.7; transform: scale(1.08); }
}
.gc-hail-banner__body { flex: 1; min-width: 0; }
.gc-hail-banner__headline {
font-size: 14.5px;
font-weight: 600;
color: #501313;
line-height: 1.3;
margin: 0 0 4px;
}
.gc-hail-banner__meta {
font-size: 12.5px;
color: #791F1F;
line-height: 1.5;
}
.gc-hail-banner__locations {
font-weight: 500;
}
.gc-hail-banner__live-pill {
display: inline-block;
background: #D63333;
color: #fff;
font-size: 10px;
font-weight: 700;
letter-spacing: 0.05em;
padding: 2px 8px;
border-radius: 999px;
text-transform: uppercase;
margin-left: 6px;
vertical-align: middle;
} @media (prefers-reduced-motion: reduce) {
.gc-crowding-hub__hail-banner,
.gc-hail-banner__icon { animation: none !important; }
}
@media (max-width: 480px) {
.gc-crowding-hub__hail-banner { padding: 12px 14px; }
.gc-hail-banner__headline { font-size: 13.5px; }
.gc-hail-banner__meta { font-size: 12px; }
}