:root {
    --app-bg: #efeff3;
    --app-card-bg: #ffffff;
    --app-text: #000000;
    --app-secondary-text: #8e8e92;
    --app-status-raised-bg: rgba(194, 39, 42, 0.12);
    --app-status-raised-text: #c2272a;
    --app-status-lowered-bg: rgba(39, 194, 129, 0.12);
    --app-status-lowered-text: #27c281;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 16px;
    transition: background-color 0.3s, color 0.3s;
    background: var(--app-bg);
    color: var(--app-text);
}

.container {
    max-width: 390px;
    margin: 0 auto;
}

.news-card,
.bridge-card {
    background: var(--app-card-bg);
    border-radius: 16px;
    padding: 12px 16px;
    width: calc(100% - 32px);
}

.news-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.news-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.news-text {
    flex: 1 0 0;
    font-size: 16px;
    margin: 0;
}

.bridge-card {
    display: flex;
    align-items: center;
    gap: 12px;
    align-self: stretch;
    margin-bottom: 12px;
}

.bridge-illustration {
    width: 64px;
    height: 64px;
    margin-right: 1px;
}

.bridge-info {
    flex-grow: 1;
}

.bridge-name {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.bridge-time {
    font-size: 14px;
    color: var(--app-secondary-text);
    margin: 0 0 8px 0;
}

.bridge-countdown-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bridge-countdown {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.bridge-status {
    padding: 3px 8px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
}

.status-raised {
    background: var(--app-status-raised-bg);
    color: var(--app-status-raised-text);
}

.status-lowered {
    background: var(--app-status-lowered-bg);
    color: var(--app-status-lowered-text);
}

.ad-banner.hidden {
    display: none;
}
