/* 英语浮岛大冒险 - 奇遇对话与商人弹窗样式 (单文件 < 200 行) */

.mono-dialog-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.mono-dialog-mask.is-active {
    opacity: 1;
    pointer-events: auto;
}

.mono-dialog-box {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 360px;
    padding: 22px 20px 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mono-dialog-mask.is-active .mono-dialog-box {
    transform: scale(1);
}

.mono-dialog-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #fef08a;
    border: 3px solid #facc15;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -46px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.mono-dialog-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 6px;
}

.mono-dialog-content {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 16px;
    background: #f8fafc;
    border-radius: 14px;
    padding: 12px 14px;
    width: 100%;
}

.mono-quest-deal-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    background: #fffbeb;
    border: 1.5px dashed #fde68a;
    border-radius: 14px;
    padding: 10px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #92400e;
}

/* 对话按钮排 */
.mono-dialog-btns {
    display: flex;
    gap: 10px;
    width: 100%;
}

.mono-dialog-btn {
    flex: 1;
    padding: 11px 0;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.15);
    transition: transform 0.1s;
}
.mono-dialog-btn:active {
    transform: translateY(2px);
    box-shadow: none;
}

.mono-btn-primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.mono-btn-cancel {
    background: #f1f5f9;
    color: #64748b;
}

/* 神秘商人货架列表 */
.mono-merchant-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 16px;
    max-height: 240px;
    overflow-y: auto;
}

.mono-merchant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 8px 12px;
}

.mono-goods-left {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.mono-goods-icon {
    font-size: 1.6rem;
}

.mono-goods-name {
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e293b;
}

.mono-goods-desc {
    font-size: 0.72rem;
    color: #64748b;
}

.mono-goods-buy-btn {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}
.mono-goods-buy-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

/* 奇遇二选一选项卡片按钮 */
.mono-event-opt-btn {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 10px 12px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.mono-event-opt-btn:active {
    transform: scale(0.98);
    background: #f0fdf4;
    border-color: #22c55e;
}
.mono-opt-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}
.mono-opt-desc {
    font-size: 0.74rem;
    color: #64748b;
    line-height: 1.3;
}

