.rb-weather-widget {
    list-style: none;
    padding: 0;
}

.rb-weather-widget .rw-search-wrap {
    position: relative;
    margin-bottom: 15px;
}

.rb-weather-widget .rw-search-input {
    width: 100%;
    background: #fff;
    border: 1.5px solid #e2eaf2;
    border-radius: 10px;
    padding: 11px 46px 11px 14px;
    font-size: 0.88rem;
    color: #1a2332;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.rb-weather-widget .rw-search-input::placeholder {
    color: #8a9ab5;
}

.rb-weather-widget .rw-search-input:focus {
    border-color: #25282B;
}

.rb-weather-widget .rw-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #25282B;
    border: none;
    border-radius: 8px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.2s;
}

.rb-weather-widget .rw-search-btn:hover {
    background: #25282B;
}

.rb-weather-widget .rw-search-btn svg {
    width: 13px;
    height: 13px;
}

.rb-weather-widget .rw-autocomplete {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0;
    background: #fff; border: 1.5px solid #e2eaf2; border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.05);
    z-index: 9999; max-height: 220px; overflow-y: auto; display: none;
    scrollbar-width: thin;
    scrollbar-color: #f0f5f9 transparent;
}
.rb-weather-widget .rw-autocomplete::-webkit-scrollbar { width: 4px; }
.rb-weather-widget .rw-autocomplete::-webkit-scrollbar-track { background: transparent; }
.rb-weather-widget .rw-autocomplete::-webkit-scrollbar-thumb { background: #f0f5f9; border-radius: 4px; }

.rb-weather-widget .rw-autocomplete.show {
    display: block;
}

.rb-weather-widget .rw-auto-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.84rem;
    border-bottom: 1px solid #f0f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.12s;
    color: #1a2332;
}

.rb-weather-widget .rw-auto-item:last-child {
    border-bottom: none;
}

.rb-weather-widget .rw-auto-item:hover {
    background: #f0f5f9;
}

.rb-weather-widget .rw-auto-name {}

.rb-weather-widget .rw-auto-name em {
    color: #25282B;
    font-style: normal;
}

.rb-weather-widget .rw-auto-region {
    font-size: 0.74rem;
    color: #8a9ab5;
    margin-left: auto;
}

@keyframes rw-spin {
    to {
        transform: rotate(360deg);
    }
}

.rb-weather-widget .rw-card {
    height: 450px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: none;
}

.rb-weather-widget .rw-card.show {
    display: block;
}

.rb-weather-widget .rw-center-msg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.rb-weather-widget .rw-center-msg.show {
    display: flex;
}

.rb-weather-widget .rw-spinner {
    width: 28px;
    height: 28px;
    border: 2px solid #e2eaf2;
    border-top-color: #25282B;
    border-radius: 50%;
    animation: rw-spin 0.75s linear infinite;
    margin-bottom: 10px;
}

.rb-weather-widget .rw-center-msg p {
    font-size: 0.84rem;
    color: #8a9ab5;
    margin: 0;
}

.rb-weather-widget .rw-center-msg.error p {
    color: #e05c5c;
}

.rb-weather-widget .rw-card-body {
    display: none;
}

.rb-weather-widget .rw-card-body.show {
    display: block;
    animation: rw-fadeup 0.35s ease;
}

@keyframes rw-fadeup {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.rb-weather-widget .rw-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.rb-weather-widget .rw-city {
    font-size: 1.2rem;
    color: #1a2332;
    line-height: 1.2;
    font-family: "font-B"
}

.rb-weather-widget .rw-city-sub {
    font-size: 0.75rem;
    color: #8a9ab5;
    margin-top: 2px;
}

.rb-weather-widget .rw-icon-wrap {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

.rb-weather-widget .rw-icon-wrap img {
    width: 140%;
    /* 확대 비율 조절 */
    height: 140%;
    margin: -20%;
    /* 중앙 정렬 */
}

.rb-weather-widget .rw-icon-emoji {
    font-size: 3rem;
    line-height: 1;
    display: none;
}

.rb-weather-widget .rw-temp-row {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 3px;
}

.rb-weather-widget .rw-temp {
    font-size: 3rem;
    color: #1a2332;
    line-height: 1;
    font-family: "font-B"
}

.rb-weather-widget .rw-temp-unit {
    font-size: 1.1rem;
    color: #8a9ab5;
    margin-bottom: 4px;
}

.rb-weather-widget .rw-desc {
    font-size: 0.84rem;
    color: #25282B;
    margin-bottom: 16px;
}

.rb-weather-widget .rw-divider {
    height: 1px;
    background: #f0f5f9;
    margin-bottom: 14px;
}

.rb-weather-widget .rw-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.rb-weather-widget .rw-detail-item {
    background: #f0f5f9;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.rb-weather-widget .rw-detail-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    padding-top: 5px;
}

.rb-weather-widget .rw-detail-label {
    font-size: 0.78rem;
    color: #8a9ab5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1px;
}

.rb-weather-widget .rw-detail-value {
    font-size: 0.9rem;
    color: #1a2332;
}

.rb-weather-widget .rw-updated {
    font-size: 0.68rem;
    color: #8a9ab5;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
}

.rb-weather-widget .rw-weekly {
    margin-top: 16px;
    border-top: 1px solid #f0f5f9;
    padding-top: 14px;
    display: none;
}

.rb-weather-widget .rw-weekly.show {
    display: block;
}

.rb-weather-widget .rw-weekly-title {
    font-size: 0.88rem;
    color: #8a9ab5;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-bottom: 10px;
    display: none;
}

.rb-weather-widget .rw-weekly-list {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rb-weather-widget .rw-weekly-list::-webkit-scrollbar {
    display: none;
}

.rb-weather-widget .rw-day-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 4px;
    border-radius: 10px;
    transition: background 0.15s;
}

.rb-weather-widget .rw-day-col.today {
    background: #f0f5f9;
}

.rb-weather-widget .rw-day-name {
    font-size: 0.72rem;
    color: #8a9ab5;
}

.rb-weather-widget .rw-day-col.today .rw-day-name {
    color: #25282B;
    font-family: 'font-B'
}

.rb-weather-widget .rw-day-icon {
    width: 32px;
    height: 32px;
}

.rb-weather-widget .rw-day-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rb-weather-widget .rw-day-emoji {
    font-size: 1.5rem;
    line-height: 1;
    display: none;
}

.rb-weather-widget .rw-day-desc {
    font-size: 0.66rem;
    color: #8a9ab5;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.rb-weather-widget .rw-day-max {
    font-size: 0.82rem;
    color: #1a2332;
}

.rb-weather-widget .rw-day-min {
    font-size: 0.75rem;
    color: #8a9ab5;
}

.rb-weather-widget .rw-temp-row {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}

.rb-weather-widget .rw-temp-extra {
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: flex-end;
    padding-bottom: 4px;
    margin-left: auto;
}

.rb-weather-widget .rw-temp-extra-item {
    font-size: 0.9rem;
    color: #8a9ab5;
    white-space: nowrap;
}

.rb-weather-widget .rw-temp-extra-item span {
    color: #1a2332;
}

.bbs_main_wrap_tit_r.rb-weather-widget-sub {
    font-size: 12px;
    padding-top: 3px;
    color: #8a9ab5;
}