/* Ikariam-style flash notices — scroll parchment + modal overlay */

.ikNoticeScroll {
    margin: 14px auto 18px;
    max-width: 620px;
    border: 1px solid #c39b64;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff8ed 0%, #f3e4c8 100%);
    box-shadow: 0 3px 10px rgba(60, 35, 10, 0.12);
    color: #4f2a0d;
    overflow: hidden;
}

.ikNoticeScroll--landing {
    max-width: 540px;
}

.ikNoticeScrollHead {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px 8px;
    border-bottom: 1px solid rgba(179, 141, 89, 0.45);
    background: rgba(255, 255, 255, 0.35);
}

.ikNoticeScrollHead img {
    width: 64px;
    height: 64px;
    border: 1px solid #b78d59;
    border-radius: 6px;
    background: #e9dbc8;
    object-fit: cover;
    flex: 0 0 auto;
}

.ikNoticeScrollTitle {
    margin: 0;
    font-size: 17px;
    font-weight: bold;
    line-height: 1.25;
}

.ikNoticeScrollBody {
    padding: 10px 16px 14px;
    line-height: 1.5;
    font-size: 13px;
}

.ikNoticeScrollActions {
    padding: 0 16px 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ikNoticeScrollActions a,
.ikNoticeScrollActions button {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #a57a45;
    border-radius: 4px;
    background: #f4e2c7;
    color: #4f2a0d;
    text-decoration: none;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
}

.ikNoticeScrollActions a:hover,
.ikNoticeScrollActions button:hover {
    background: #ecd2ad;
}

.ikNoticeScroll--success .ikNoticeScrollTitle { color: #2d5a1f; }
.ikNoticeScroll--error .ikNoticeScrollTitle { color: #7a1f16; }
.ikNoticeScroll--info .ikNoticeScrollTitle { color: #3d4a6b; }
.ikNoticeScroll--warning .ikNoticeScrollTitle { color: #7a4b0a; }

/* Modal overlay (in-game) */
.ikNoticeModalOverlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(20, 12, 6, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.ikNoticeModalPanel {
    width: 100%;
    max-width: 520px;
    animation: ikNoticePop 0.28s ease-out;
}

@keyframes ikNoticePop {
    from { opacity: 0; transform: scale(0.94) translateY(8px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.ikNoticeModalClose {
    margin-top: 4px;
    text-align: center;
}

.ikNoticeModalClose button {
    min-width: 120px;
}
